[rabbitmq-discuss] Is Connection is thead safe?

sameekmishra sameek at arosys.com
Tue Nov 22 08:57:36 GMT 2011


now I declared channel but this error will comes again. 



Matthias Radestock-3 wrote:
> 
> 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.
> 
> 
> Matthias.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> 

-- 
View this message in context: http://old.nabble.com/Is-Connection-is-thead-safe--tp32872118p32872220.html
Sent from the RabbitMQ mailing list archive at Nabble.com.



More information about the rabbitmq-discuss mailing list