public class CompositeJmsExceptionListener extends Object implements javax.jms.ExceptionListener
ExceptionListener.
This gives the capability of register multiple ExceptionListener for the same exception notification,
this is useful to be able to notify all the JmsListener that has been created with the same JmsConnection.| Constructor and Description |
|---|
CompositeJmsExceptionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onException(javax.jms.JMSException exception) |
void |
registerExceptionListener(javax.jms.ExceptionListener exceptionListener)
Registers a
ExceptionListener to be notified if an connection error occurs |
public void onException(javax.jms.JMSException exception)
onException in interface javax.jms.ExceptionListenerpublic void registerExceptionListener(javax.jms.ExceptionListener exceptionListener)
ExceptionListener to be notified if an connection error occursexceptionListener - The listener to registerCopyright © 2020. All rights reserved.