[rabbitmq-discuss] connecting after exchange restart
Alexandru Scvorţov
alexandru at rabbitmq.com
Tue Aug 17 12:45:12 BST 2010
Hi Michael,
> We have a problem whereby if the exchange is restarted then
> QueueingConsumer.nextDelivery() always throws ShutDownSignalException:
>
> com.rabbitmq.client.ShutdownSignalException: clean channel shutdown; reason:
> #method<channel.close>(reply-code=200,reply-text=OK,class-id=0,method-id=0)
>
> Is there any way we can reconnect automatically our does the reconnect logic
> need to be handled in our application?
Reconnect logic needs to be handled by the application. If the
connection dies you have to redo everything up-to and including
declaring the QueueingConsumer.
Cheers,
Alex
More information about the rabbitmq-discuss
mailing list