org.springframework.integration.scheduling
Class MessagePublishingErrorHandler
java.lang.Object
org.springframework.integration.scheduling.MessagePublishingErrorHandler
- All Implemented Interfaces:
- ErrorHandler
public class MessagePublishingErrorHandler
- extends java.lang.Object
- implements ErrorHandler
ErrorHandler
implementation that sends an ErrorMessage
to a
MessageChannel
.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private final org.apache.commons.logging.Log logger
errorChannel
private volatile MessageChannel errorChannel
sendTimeout
private final long sendTimeout
- See Also:
- Constant Field Values
MessagePublishingErrorHandler
public MessagePublishingErrorHandler()
MessagePublishingErrorHandler
public MessagePublishingErrorHandler(MessageChannel errorChannel)
setErrorChannel
public void setErrorChannel(MessageChannel errorChannel)
handle
public final void handle(java.lang.Throwable t)
- Specified by:
handle
in interface ErrorHandler