diff --git a/docs/src/reference/docbook/channel-adapter.xml b/docs/src/reference/docbook/channel-adapter.xml index efec45d05b..f3619f2f5b 100644 --- a/docs/src/reference/docbook/channel-adapter.xml +++ b/docs/src/reference/docbook/channel-adapter.xml @@ -118,9 +118,15 @@ Any Channel Adapter can be created without a "channel" reference in which case it will implicitly create an instance of DirectChannel. The created channel's name will match the "id" attribute - of the <inbound-channel-adapter/> or <outbound-channel-adapter> element. Therefore, if the "channel" + of the <inbound-channel-adapter> or <outbound-channel-adapter> element. Therefore, if the "channel" 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. +