org.springframework.integration.channel
Class MessagePublishingErrorHandler
java.lang.Object
org.springframework.integration.channel.MessagePublishingErrorHandler
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.util.ErrorHandler
public class MessagePublishingErrorHandler
- extends java.lang.Object
- implements org.springframework.util.ErrorHandler, org.springframework.beans.factory.BeanFactoryAware
ErrorHandler
implementation that sends an ErrorMessage
to a
MessageChannel
.
- Author:
- Mark Fisher, Iwein Fuld, Oleg Zhurakousky
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(org.springframework.beans.factory.BeanFactory beanFactory)
- Specified by:
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
handleError
public final void handleError(java.lang.Throwable t)
- Specified by:
handleError
in interface org.springframework.util.ErrorHandler