[rabbitmq-discuss] Is Connection is thead safe?

Matthias Radestock matthias at rabbitmq.com
Tue Nov 22 08:13:21 GMT 2011


On 22/11/11 07:44, sameekmishra wrote:
> I have created worker threads  that consume message from same queue.
> [...]  I got the following error:
> java.lang.IllegalStateException: cannot execute more than one synchronous
> AMQP command at a time

The problem must be in the portion of the code you didn't post; please 
send the complete code to reproduce the problem. Thanks.

Matthias.


More information about the rabbitmq-discuss mailing list