[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Mina client/server session id's

ataylor do-not-reply at jboss.com
Tue May 27 14:31:09 EDT 2008


anonymous wrote : private class JMSFailureListener implements RemotingSessionListener
  |    {
  |       public void sessionDestroyed(long sessionID, MessagingException me)
  |       {
  |          if (me == null)
  |             return;
  |          
  |          JMSException je = new JMSException(me.toString());
  |          
  |          je.initCause(me);
  |          
  |          exceptionListener.onException(je);
  |       }
  |       
  |    }

see JBossConnection:
private class JMSFailureListener implements RemotingSessionListener
  |    {
  |       public void sessionDestroyed(long sessionID, MessagingException me)
  |       {
  |          if (me == null)
  |             return;
  |          
  |          JMSException je = new JMSException(me.toString());
  |          
  |          je.initCause(me);
  |          
  |          exceptionListener.onException(je);
  |       }
  |       
  |    }

The session id is not even used here, but if it was logged it may get confusing if someone was trying to match up client and server logs.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153757#4153757

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153757



More information about the jboss-dev-forums mailing list