[rabbitmq-discuss] connection.createChannel() block after send/receive messages to non-exist queues

rob rob at rabbitmq.com
Mon Nov 8 13:15:20 GMT 2010


On Mon, 8 Nov 2010 20:04:20 +0800, Liwen Fan <f at scalethink.com> wrote:
> Hi,
> 
> We are running rabbit 2.1.1 with java client.
> Our code is simple. Many threads share a common connection. In every
> thread,
> it holds its own channel.
> When some threads publish/get messages to/from exchanges/queues which do
> not
> exist, its own channel dies.
> But, the problem is, other threads that calls at
connection.createChannel()
> will block.
> 
> we only use channel.basicGet() and channel.basicPublish() for our
message
> delivery.
> Any suggestions?

Did you also upgrade the Java Client to 2.1.1? There was a deadlock bug
that was fixed in 2.1.1 that sounds very similar to what you describe.

Rob


More information about the rabbitmq-discuss mailing list