diff --git a/spring-integration-reference/src/configuration.xml b/spring-integration-reference/src/configuration.xml index af85a5b26d..4c22640f2d 100644 --- a/spring-integration-reference/src/configuration.xml +++ b/spring-integration-reference/src/configuration.xml @@ -61,10 +61,9 @@
Configuring Message Channels - To create a Message Channel instance, you can use the use the generic 'channel' element: + To create a Message Channel instance, you can use the generic 'channel' element: <channel id="exampleChannel"/> - The default channel type is Point to Point. To create a Publish Subscribe channel, provide a value of true for the @@ -112,7 +111,7 @@ provided instead. Also, the PriorityChannel does support the "datatype" attribute. The following example demonstrates both: + datatype="example.Widget" comparator="widgetComparator"/> ]]> @@ -235,22 +234,21 @@ pool. The dispatcher threads are responsible for polling channels and then passing the messages to handlers. When the endpoints are concurrency-enabled as described in the previous section, the invocation of the handling methods will happen within the handler thread pool and not the dispatcher pool. Finally, the Message Bus is - capable of automatically creating channel instances (with default settings) if an endpoint registers a - subscription by providing the name of a channel that the bus does not recognize. The type of the automatically - created channel will be determined by the + capable of automatically creating channel instances if an endpoint registers a subscription by providing the + name of a channel that the bus does not recognize. ]]> - The kind of channel that gets created automatically by the bus can be customized by using the "channel-factory" - element on the "message-bus" definition as in the following sample: - + The type of channel that gets created automatically by the bus can be customized by using the "channel-factory" + element on the "message-bus" definition as in the following example: + - + ]]> + class="org.springframework.integration.channel.factory.PriorityChannelFactory"/>]]> With this definition, all the channels created automatically will be PriorityChannel instances. - Without the "channel-factory element, the Message Bus will assume a default QueueChannelFactory. + Without the "channel-factory" element, the Message Bus will assume a default QueueChannelFactory.