diff --git a/spring-integration-reference/src/configuration.xml b/spring-integration-reference/src/configuration.xml
index 650e608891..7f176c32f4 100644
--- a/spring-integration-reference/src/configuration.xml
+++ b/spring-integration-reference/src/configuration.xml
@@ -12,9 +12,8 @@
XSD-based namespace for the majority of configuration combined with a handful of objects that are configured with
annotations. As much as possible, the two provide consistent naming. XML elements defined by the XSD schema will
match the names of annotations, and the attributes of those XML elements will match the names of annotation
- properties. Direct usage of the API is yet another option and is described in detail in .
- We expect that most users will choose one of the higher-level options, such as the namespace-based or
- annotation-driven configuration.
+ properties. Direct usage of the API is of course always an option, but we expect that most users will choose one
+ of the higher-level options, or a combination of the namespace-based and annotation-driven configuration.
@@ -88,7 +87,7 @@
It is also possible to use more specific elements for the various channel types (as described in
- ). Depending on the channel, these may provide additional configuration
+ ). Depending on the channel, these may provide additional configuration
options. Examples of each are shown below.
- Message channels may also have interceptors as described in . One or
+ Message channels may also have interceptors as described in . One or
more <interceptor> elements can be added as sub-elements of <channel> (or the more specific element
types). Provide the "ref" attribute to reference any Spring-managed object that implements the
ChannelInterceptor interface:
@@ -209,9 +208,9 @@
<service-activator input-channel="exampleChannel" ref="exampleHandler"/>
- The configuration above assumes that "exampleHandler" is an actual implementation of the
- MessageHandler interface as described in .
- To delegate to an arbitrary method of any object, simply add the "method" attribute.
+ The configuration above assumes that "exampleHandler" either contains a single method annotated with the
+ @ServiceActivator annotation or that it contains a single public method period. To delegate to an explicitlye
+ defined method of any object, simply add the "method" attribute.
<service-activator input-channel="exampleChannel" ref="somePojo" method="someMethod"/>
@@ -229,10 +228,9 @@
- Message Endpoints also support MessageSelectors as described in
- . To configure a selector with namespace support, simply add the
- "selector" attribute to the endpoint definition and reference an implementation of the
- MessageSelector interface.
+ Message Endpoints also support MessageSelectors. To configure a selector with
+ namespace support, simply add the "selector" attribute to the endpoint definition and reference an
+ implementation of the MessageSelector interface.
]]>
@@ -308,11 +306,10 @@
Configuring the Message Bus
- As described in , the MessageBus plays a central role.
- Nevertheless, its configuration is quite simple since it is primarily concerned with managing internal details
- based on the configuration of channels and endpoints. The bus is aware of its host application context, and
- therefore is also capable of auto-detecting the channels and endpoints. Typically, the
- MessageBus can be configured with a single empty element:
+ The Message Bus plays a central role, but its configuration is quite simple since it is primarily concerned
+ with managing internal details based on the configuration of channels and endpoints. The bus is aware of its
+ host application context, and therefore is also capable of auto-detecting the channels and endpoints.
+ The Message Bus can be configured with a single empty element:
<message-bus/>
@@ -346,16 +343,6 @@
is provided to an endpoint's poller, then it will be invoked in the dispatcher's thread (with the exception of
subscribable channels).
-
- Finally, the type of channel that gets created automatically by the bus can be customized by defining a bean
- that implements the ChannelFactory interface and whose name is "channelFactory".
-
-
-]]>
- With this definition, all the channels created automatically will be PriorityChannel instances.
- Without a "channelFactory" bean, the Message Bus will assume a default QueueChannelFactory.
-
@@ -369,17 +356,6 @@
-
-
-
-
-
-
-
-