Package org.apache.activemq
Interface ClientInternalExceptionListener
-
public interface ClientInternalExceptionListenerAn exception listener similar to the standardjavax.jms.ExceptionListenerwhich can be used by client code to be notified of exceptions thrown by container components (e.g. an EJB container in case of Message Driven Beans) during asynchronous processing of a message.The
org.apache.activemq.ActiveMQConnectionthat the listener has been registered with does this by calling the listener'sonException()method passing it aThrowabledescribing the problem.- Author:
- Kai Hudalla
- See Also:
ActiveMQConnection.setClientInternalExceptionListener(org.apache.activemq.ClientInternalExceptionListener)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonException(Throwable exception)Notifies a client of an exception while asynchronously processing a message.
-
-
-
Method Detail
-
onException
void onException(Throwable exception)
Notifies a client of an exception while asynchronously processing a message.- Parameters:
exception- the exception describing the problem
-
-