public class ExceptionTrackingFailureHandler extends Object implements DispatchFailureHandler<Object>, Stoppable
| Constructor and Description |
|---|
ExceptionTrackingFailureHandler(org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchFailed(Object message,
Throwable failure)
Called when a message could not be dispatched.
|
void |
stop()
Requests a graceful stop of this object.
|
public ExceptionTrackingFailureHandler(org.slf4j.Logger logger)
public void dispatchFailed(Object message, Throwable failure)
DispatchFailureHandlerdispatchFailed in interface DispatchFailureHandler<Object>public void stop()
throws DispatchException
StoppableRequests a graceful stop of this object. Blocks until all concurrent activity has been completed.
If this object has already been stopped, this method does nothing.
stop in interface StoppableDispatchExceptionCopyright © 2013. All rights reserved