[rabbitmq-discuss] multiple threads in one queue
Marek Majkowski
majek04 at gmail.com
Fri Oct 1 16:28:08 BST 2010
On Fri, Oct 1, 2010 at 15:40, Marek Majkowski <majek04 at gmail.com> wrote:
> Instead, I propose to send acknowledgments directly from your worker
> threads. If I remember correctly, acks are thread-safe and can be
> called from every thread.
As a side note, our guide clearly says that you shouldn't touch channel
in different threads:
http://www.rabbitmq.com/api-guide.html#channel-threads
Though, I'm pretty sure basicAck shouldn't have any issues even if
it was called from other threads. But, that's not a supported or
recommended option.
More information about the rabbitmq-discuss
mailing list