diff --git a/docs/src/reference/docbook/channel-adapter.xml b/docs/src/reference/docbook/channel-adapter.xml
index 8aacb0d317..b67cad2ccf 100644
--- a/docs/src/reference/docbook/channel-adapter.xml
+++ b/docs/src/reference/docbook/channel-adapter.xml
@@ -5,9 +5,11 @@
A Channel Adapter is a Message Endpoint that enables connecting a single sender or receiver to a Message Channel.
Spring Integration provides a number of adapters out of the box to support various transports, such as JMS, File,
- HTTP, Web Services, and Mail. Those will be discussed in upcoming chapters of this reference guide. However, this
+ HTTP, Web Services, Mail, and more. Those will be discussed in upcoming chapters of this reference guide. However, this
chapter focuses on the simple but flexible Method-invoking Channel Adapter support. There are both inbound and
- outbound adapters, and each may be configured with XML elements provided in the core namespace.
+ outbound adapters, and each may be configured with XML elements provided in the core namespace. These provide an
+ easy way to extend Spring Integration as long as you have a method that can be invoked as either a source or
+ destination.
@@ -18,8 +20,7 @@
When the adapter's subscription is activated, a poller will attempt to receive messages from the source. The
poller will be scheduled with the TaskScheduler according to the provided
configuration. To configure the polling interval or cron expression for an individual channel-adapter,
- provide a 'poller' element with either an 'interval-trigger' (in milliseconds) or 'cron-trigger'
- sub-element.
+ provide a 'poller' element with one of the scheduling attributes, such as 'fixed-rate' or 'cron'.
@@ -41,21 +42,27 @@
An "outbound-channel-adapter" element can also connect a MessageChannel to any POJO consumer
method that should be invoked with the payload of Messages sent to that channel.
- ]]>
+
+
+]]>
+
+
If the channel being adapted is a PollableChannel, provide a poller sub-element:
-
+
]]>
]]>
-
+
+
]]>
Using a "ref" attribute is generally recommended if the POJO consumer implementation can be reused
in other <outbound-channel-adapter> definitions. However if the consumer implementation
- should be scoped to a single definition of the <outbound-channel-adapter>, you can define it as inner bean:
-
-
+ is only referenced by a single definition of the <outbound-channel-adapter>, you
+ can define it as inner bean:
+
+
]]>
]]>
@@ -63,7 +70,8 @@
Using both the "ref" attribute and an inner handler definition in the same <outbound-channel-adapter>
- configuration is not allowed, as it creates an ambiguous condition and will result in an Exception being thrown.
+ configuration is not allowed as it creates an ambiguous condition. Such a configuration will result in an Exception
+ being thrown.