From 10ae8a7afffdfb9f94ff130f1bb4e4d48b3fa864 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Tue, 29 Sep 2015 13:48:12 -0400 Subject: [PATCH] INT-3835: Fix ERROR_CHANNEL Constant in Reference JIRA: https://jira.spring.io/browse/INT-3835 --- src/reference/docbook/configuration.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reference/docbook/configuration.xml b/src/reference/docbook/configuration.xml index 7e378215c2..9cc9a234c1 100644 --- a/src/reference/docbook/configuration.xml +++ b/src/reference/docbook/configuration.xml @@ -162,7 +162,7 @@ Specifically, the Exception will become the payload of a Spring Integration Message. That Message will then be sent to a Message Channel that is resolved in a way that is similar to the 'replyChannel' resolution. First, if the request Message being handled at the time the Exception occurred contains - an 'errorChannel' header (the header name is defined in the constant: IntegrationMessageHeaderAccessor.ERROR_CHANNEL), + an 'errorChannel' header (the header name is defined in the constant: MessageHeaders.ERROR_CHANNEL), the ErrorMessage will be sent to that channel. Otherwise, the error handler will send to a "global" channel whose bean name is "errorChannel" (this is also defined as a constant: IntegrationContextUtils.ERROR_CHANNEL_BEAN_NAME).