Thanks Christian. Yes, I do see the exception in my logs which I had already
mentioned in my first post in this thread. I wanted to handle all exceptions
in a generic way in ExceptionListener instead of handling async and sync
exceptions differently. Is there any support in ActiveMQ to get callback for
any exception on the connection between client and broker (especially the
ones thrown by broker plugins)

org.springframework.jms.UncategorizedJmsException: Uncategorized exception
occured during JMS processing; nested exception is javax.jms.JMSException:
common.jms.ActiveMQAuth$ActiveMQAuthException: Could not establish server
context 
        at
org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:260)
 
        at
org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:172)
 
        at
org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:441) 
        at
org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:485) 
        at common.jms.test.JMSProducer.start(JMSProducer.java:228) 
        at common.jms.test.JMSProducer.access$900(JMSProducer.java:45) 
        at common.jms.test.JMSProducer$1.run(JMSProducer.java:302) 
        at java.lang.Thread.run(Thread.java:724



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ExceptionListener-not-getting-fired-on-the-client-side-when-using-JmsTemplate-tp4673285p4673346.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to