INT-2273: Manual 3.2
This commit is contained in:
@@ -118,9 +118,15 @@
|
||||
<para>
|
||||
Any Channel Adapter can be created without a "channel" reference in which case it will implicitly create an
|
||||
instance of <classname>DirectChannel</classname>. 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 <code><inbound-channel-adapter></code> or <code><outbound-channel-adapter></code> element. Therefore, if the "channel"
|
||||
is not provided, the "id" is required.
|
||||
</para>
|
||||
<para>
|
||||
As many other Spring Integration components <code><inbound-channel-adapter></code> and <code><outbound-channel-adapter></code>
|
||||
also provide support for SpEL expression via 'expression' attribute in contrast to method-invocation via 'bean reference/method', while following the same contract where:
|
||||
<emphasis>expression</emphasis> for <code><inbound-channel-adapter></code> must always return <emphasis>non-null</emphasis> value,
|
||||
while the one for <code><outbound-channel-adapter></code> must be equivalent of <emphasis>void</emphasis> return type.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user