JMS ExceptionListener

I am using javax.jms.Connection to send & receive jms messages to/from JBoss501. I am also using the Connection.setExceptionListener(). I would like to know if the exception listener needs to be set before the connection is started by (Conneciton.start()) ? Any ideas to reproduce the JBoss connection exception at will to confirm if the exception listener is invoked.

Source: java

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.