Fix ErrorMessages typo in the configuration.adoc

The `ErrorMessages` may confuse people since there is no such a class.

http://stackoverflow.com/questions/43318551/error-message-was-not-delivered-headers-null

* Fix `ErrorMessages` code to the `ErrorMessage` s
This commit is contained in:
Artem Bilan
2017-04-10 09:17:25 -04:00
committed by GitHub
parent 9e175054d0
commit 5e628b3692

View File

@@ -189,7 +189,7 @@ that are thrown by a Spring Integration task that is executing within a `TaskExe
This does _not_ apply to Exceptions thrown by a handler that is operating within the same thread as the sender (e.g.
through a `DirectChannel` as described above).
NOTE: When Exceptions occur in a scheduled poller task's execution, those exceptions will be wrapped in `ErrorMessages` and sent to the 'errorChannel' as well.
NOTE: When Exceptions occur in a scheduled poller task's execution, those exceptions will be wrapped in `ErrorMessage` s and sent to the 'errorChannel' as well.
To enable global error handling, simply register a handler on that channel.
For example, you can configure Spring Integration's `ErrorMessageExceptionTypeRouter` as the handler of an endpoint that is subscribed to the 'errorChannel'.