From dec71f27c86f400077de39d9ee6006919608941d Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 2 Dec 2011 14:13:25 -0500 Subject: [PATCH] polishing --- docs/src/reference/docbook/channel-adapter.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/src/reference/docbook/channel-adapter.xml b/docs/src/reference/docbook/channel-adapter.xml index f3619f2f5b..efc27b46dd 100644 --- a/docs/src/reference/docbook/channel-adapter.xml +++ b/docs/src/reference/docbook/channel-adapter.xml @@ -122,10 +122,13 @@ is not provided, the "id" is required. - As many other Spring Integration components <inbound-channel-adapter> and <outbound-channel-adapter> - also provide support for SpEL expression via 'expression' attribute in contrast to method-invocation via 'bean reference/method', while following the same contract where: - expression for <inbound-channel-adapter> must always return non-null value, - while the one for <outbound-channel-adapter> must be equivalent of void return type. + Like many other Spring Integration components, the <inbound-channel-adapter> and + <outbound-channel-adapter> also provide support for SpEL expression evaluation. To use SpEL, provide the + expression string via the 'expression' attribute instead of providing the 'ref' and 'method' attributes that are used for + method-invocation on a bean. When an Expression is evaluated, it follows the same contract as method-invocation where: + the expression for an <inbound-channel-adapter> will generate a message anytime the + evaluation result is a non-null value, while the expression for an + <outbound-channel-adapter> must be the equivalent of a void returning method invocation.