Class ErrorMessagePublisher

java.lang.Object
org.springframework.integration.core.ErrorMessagePublisher
All Implemented Interfaces:
Aware, BeanFactoryAware
Direct Known Subclasses:
ErrorMessageSendingRecoverer, MessagePublishingErrorHandler

public class ErrorMessagePublisher
extends Object
implements BeanFactoryAware
The component which can be used as general purpose of errors publishing. Can be called or extended in any error handling or retry scenarios.

An ErrorMessageStrategy can be used to provide customization for the target ErrorMessage based on the AttributeAccessor (or the message and/or throwable when using the other publish() methods).

Since:
4.3.10
Author:
Artem Bilan, Gary Russell