Class SjmsLoggingExceptionListener

  • All Implemented Interfaces:
    javax.jms.ExceptionListener

    public class SjmsLoggingExceptionListener
    extends Object
    implements javax.jms.ExceptionListener
    A JMS ExceptionListener which logs all caught exceptions.
    • Constructor Detail

      • SjmsLoggingExceptionListener

        public SjmsLoggingExceptionListener​(org.apache.camel.spi.ExceptionHandler exceptionHandler,
                                            boolean logStackTrace)
    • Method Detail

      • onException

        public void onException​(javax.jms.JMSException throwable)
        Specified by:
        onException in interface javax.jms.ExceptionListener