INT-2273: Manual 3.2

This commit is contained in:
Artem Bilan
2011-11-28 18:17:35 +02:00
committed by Mark Fisher
parent 801ba439be
commit 85a602fa1c

View File

@@ -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 &lt;inbound-channel-adapter/&gt; or &lt;outbound-channel-adapter&gt; element. Therefore, if the "channel"
of the <code>&lt;inbound-channel-adapter&gt;</code> or <code>&lt;outbound-channel-adapter&gt;</code> element. Therefore, if the "channel"
is not provided, the "id" is required.
</para>
<para>
As many other Spring Integration components <code>&lt;inbound-channel-adapter&gt;</code> and <code>&lt;outbound-channel-adapter&gt;</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>&lt;inbound-channel-adapter&gt;</code> must always return <emphasis>non-null</emphasis> value,
while the one for <code>&lt;outbound-channel-adapter&gt;</code> must be equivalent of <emphasis>void</emphasis> return type.
</para>
</section>
</section>