[rabbitmq-discuss] connection.close() hangs
Matthias Radestock
matthias at rabbitmq.com
Thu Oct 14 22:42:52 BST 2010
Steve,
Steve Haneman wrote:
> ubuntu-10.04.1-server-amd64
> RabbitMQ 2.1.0, generic install
> Java client: rabbitmq-java-client-bin-2.1.0
> Java 1.5
>
> The following code hangs on conn.close(). Specifying a timeout did not
> help. No issues when run on RabbitMQ 2.0.
Is this reproducible? If so, please run the code you posted against the
server with the protocol tracer
(http://www.rabbitmq.com/examples.html#tracer) inbetween and post the
output.
> System.out.println("publish");
> pushChannel.basicPublish(exchange, route, true,
> true, MessageProperties.PERSISTENT_TEXT_PLAIN, messageBodyBytes);
> // we hang here
> System.out.println("start close");
> conn.close();
> System.out.println("end close");
So you do see the "start close" but not the "end close"?
Regards,
Matthias.
More information about the rabbitmq-discuss
mailing list