maansthoernvik / rabbitmq_client

Client for a RabbitMQ server.
MIT License
9 stars 5 forks source link

Refactor consume entry handling #13

Open maansthoernvik opened 2 years ago

maansthoernvik commented 2 years ago

Consume entry handling is a bit wonky, and is duplicated (not copied, only references) on consume OK. Include generation of the consumer tag at consume (if not user-supplied) to remove the need for "consume keys". This way, the user can correlate the consume call with the gotten ConsumeOK much easier.