[rabbitmq-discuss] Channel thread safety in Java Client

Ben Hood 0x6e6562 at gmail.com
Sun Jul 5 20:45:11 BST 2009


Tsuraan,

On Sun, Jul 5, 2009 at 4:54 AM, tsuraan<tsuraan at gmail.com> wrote:
>> 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.

Why is this?

> 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?

Yes, that's right.

Ben




More information about the rabbitmq-discuss mailing list