org.springframework.integration.channel
Class MessagePublishingErrorHandler
java.lang.Object
org.springframework.integration.channel.MessagePublishingErrorHandler
- All Implemented Interfaces:
- BeanFactoryAware, ErrorHandler
public class MessagePublishingErrorHandler
- extends Object
- implements ErrorHandler, BeanFactoryAware
ErrorHandler
implementation that sends an ErrorMessage
to a
MessageChannel
.
- Author:
- Mark Fisher, Iwein Fuld
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessagePublishingErrorHandler
public MessagePublishingErrorHandler()
MessagePublishingErrorHandler
public MessagePublishingErrorHandler(ChannelResolver channelResolver)
setDefaultErrorChannel
public void setDefaultErrorChannel(MessageChannel defaultErrorChannel)
setSendTimeout
public void setSendTimeout(long sendTimeout)
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory)
- Specified by:
setBeanFactory
in interface BeanFactoryAware
handleError
public final void handleError(Throwable t)
- Specified by:
handleError
in interface ErrorHandler
Copyright © 2010. All Rights Reserved.