[rabbitmq-discuss] Channel thread safety in Java Client

tsuraan tsuraan at gmail.com
Sun Jul 5 04:54:18 BST 2009


> BTW (I know that app might not permit this), but have you considered
> using a channel per consumer?

I could do that.  I'd just have to keep track of which channel each
message came from.  Either way, I shouldn't be getting contention
between the Connection thread that's doing the message receiving and
the (properly synchronized) threads that are doing the acks and
publishes, right?




More information about the rabbitmq-discuss mailing list