In MessagingServerImpl:
| private static class NoCacheConnectionLifeCycleListener implements
ConnectionLifeCycleListener
| {
| private RemotingConnection conn;
|
| public void connectionCreated(final Connection connection)
| {
| }
|
| public void connectionDestroyed(final Object connectionID)
| {
| if (conn != null)
| {
| conn.destroy();
| }
| }
|
| public void connectionException(final Object connectionID, final
MessagingException me)
| {
| if (conn != null)
| {
| conn.fail(me);
| }
| }
| }
|
You can see that when the connection is destroyed (closed as opposed to failed) then the
failure handler won't be called, so the channel never knows its replicating channel is
dead.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208697#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...