|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientInternalExceptionListener
An exception listener similar to the standard javax.jms.ExceptionListener
which 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.ActiveMQConnection
that the listener has been registered with does
this by calling the listener's onException()
method passing it a Throwable
describing
the problem.
ActiveMQConnection.setClientInternalExceptionListener(org.apache.activemq.ClientInternalExceptionListener)
Method Summary | |
---|---|
void |
onException(Throwable exception)
Notifies a client of an exception while asynchronously processing a message. |
Method Detail |
---|
void onException(Throwable exception)
exception
- the exception describing the problem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |