[rabbitmq-discuss] Is Connection is thead safe?

Matthias Radestock matthias at rabbitmq.com
Tue Nov 22 08:42:23 GMT 2011

On 22/11/11 08:29, sameekmishra wrote:
> Thanks for reply.i have upload two files workerThread.java and
> MQConnectionManager.java MQConnectionManager class reads configuration and
> return rabbitmqconnection Object which is passed to workThread class.

Where is 'channel' declared? It is used in workerThread.run() but not 
declared in that class or method. So I suspect it is declared in a 
containing class and thus shared between the workerThread instances, 
which will cause all sorts of problems.


More information about the rabbitmq-discuss mailing list