Carleen
2014-11-14 15:29:19 UTC
I'm having a problem with my channels suddenly shutting down. I have a
shutdown listener, and the error message only says (forgive any errors - I
have to retype this):
connection error; reasons {#method<connection.close>(reply-code=320,
reply-text=CONNECTION_FORCED - broker connection closure with reason
'shutdown', class-id=0, method-id=0), null, ""}
In my code I have a catch for the AlreadyClosedException, and try to create
a new channel like so:
} catch (AlreadyClosedException e) {
Connection connection = channel.getConnection();
channel = connection.createChannel();
}
This seems to have no effect. I still continuously get the
AlreadyClosedException until I restart the broker. The server log (which I
can't post because it's on another network) indicates that rabbitmq is
stopping listening, and then shows the same error message that the shutdown
listener is giving.
Thanks for any help.
shutdown listener, and the error message only says (forgive any errors - I
have to retype this):
connection error; reasons {#method<connection.close>(reply-code=320,
reply-text=CONNECTION_FORCED - broker connection closure with reason
'shutdown', class-id=0, method-id=0), null, ""}
In my code I have a catch for the AlreadyClosedException, and try to create
a new channel like so:
} catch (AlreadyClosedException e) {
Connection connection = channel.getConnection();
channel = connection.createChannel();
}
This seems to have no effect. I still continuously get the
AlreadyClosedException until I restart the broker. The server log (which I
can't post because it's on another network) indicates that rabbitmq is
stopping listening, and then shows the same error message that the shutdown
listener is giving.
Thanks for any help.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.