INT-3884: Outbound Gateway replyChannel in Chain

JIRA: https://jira.spring.io/browse/INT-3884

Previously, an outbound gateway within a chain allowed a `reply-channel` attribute
but it was ignored. The gateway's output channel is set to send the message to
the next element in the chain, or the chain's output channel if the gateway is
the last element.

Tighten the parser logic to detect and disallow a reply channel within a chain.

Polishing
This commit is contained in:
Gary Russell
2015-11-17 15:37:31 -05:00
committed by Artem Bilan
parent 051b393ed0
commit 33a40f6cae
6 changed files with 93 additions and 20 deletions

View File

@@ -13,3 +13,10 @@ development process.
[[x4.3-general]]
=== General Changes
==== Outbound Gateway within Chain
Previously, it was possible to specify a `reply-channel` on an outbound gateway within a chain.
It was completely ignored; the gateway's reply goes to the next chain element, or to the chain's output channel
if the gateway is the last element.
This condition is now detected and disallowed.
If you have such configuration, simply remove the `reply-channel`.