List of usage examples for javax.jms XAConnection setExceptionListener
void setExceptionListener(ExceptionListener listener) throws JMSException;
From source file:org.wso2.carbon.transport.jms.factory.JMSClientConnectionFactory.java
@Override public XAConnection createXAConnection() throws JMSException { XAConnection xaConnection = super.createXAConnection(); xaConnection.setExceptionListener(new JMSErrorListener()); return xaConnection; }