rabbit.js icon indicating copy to clipboard operation
rabbit.js copied to clipboard

Queue durability, exclusivity and consumerTag

Open charyorde opened this issue 10 years ago • 1 comments

How to specify Queue exclusivity, durability and consumerTag for uniquely identifying messages during consumption?

charyorde avatar Aug 20 '15 10:08 charyorde

Okay, I understand that the concept of 'persistence' handles durability and exclusivity only partains to Queues and not Exchanges.

Now where consumerTag would be useful is when you have non-nodejs apps as consumers of a pub/sub socket. Embedding the identifier in the message body is near impossible because Java/Scala libraries receive messages as byte array.

charyorde avatar Aug 20 '15 12:08 charyorde