[rabbitmq-discuss] Can I acknowledge a message in a separate thread to that which received the message?

Matthew Sackman matthew at rabbitmq.com
Sat May 7 07:50:52 BST 2011


On Fri, May 06, 2011 at 08:01:00PM -0500, Robert Nicholson wrote:
> Does anybody know if using the Java client I'm allowed to acknowledge a message on a different thread than which picked up the message? 

Behaviour is likely undefined in this case.

> More generally can I use a channel from a different thread? 

It's not recommended, as the API guide says -
http://www.rabbitmq.com/api-guide.html#channel-threads

Matthew


More information about the rabbitmq-discuss mailing list