[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: MDB/JCA adapter connection failures

timfox do-not-reply at jboss.com
Tue Apr 17 12:16:12 EDT 2007


"adrian at jboss.org" wrote : 
  | What I don't see is an invocation of the ExceptionListener
  | when it encounters this problem, instead it just logs a warning:
  | 
  |   | WARN 28-03 17:15:21,093 (JBossConnectionConsumer.java:run:303) -Connection consumer closing due to error in listening thread JBossConnectionConsumer[22, 1]
  |   | javax.jms.JMSException: Unable to get a server session java.lang.Exception: Cannot get a server session after the pool is stopped 
  |   | 
  | which is useless for recovery.
  | 

So we should call the connection's exception listener in this situation?

I'm just querying this since this code was more or less ported from the JBoss MQ connection consumer which doesn't call the exception listener either.

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

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



More information about the jboss-dev-forums mailing list