#include <TaskListener.h>
Inheritance diagram for activemq::concurrent::TaskListener:
Public Member Functions | |
virtual | ~TaskListener () |
virtual void | onTaskComplete (Runnable *task)=0 |
virtual void | onTaskException (Runnable *task, exceptions::ActiveMQException &ex)=0 |
|
|
|
Called when a queued task has completed, the task that finished is passed along for user consumption
Implemented in activemq::core::ActiveMQTransaction. |
|
Called when a queued task has thrown an exception while being run. The Callee should assume that this was an unrecoverable exeption and that this task is now defunct.
Implemented in activemq::core::ActiveMQTransaction. |