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

Liwen Fan f at scalethink.com
Tue Nov 9 02:45:26 GMT 2010


Thanks rob, we are using java client 2.1.0.

it is ok now when we bring it to 2.1.1. many thanks.


2010/11/8 rob <rob at rabbitmq.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101109/af5f557d/attachment.htm>


More information about the rabbitmq-discuss mailing list