The <channel/> element is now used for creating all Point-to-Point channel types. It accepts a queue sub-element (options are: <queue/>, <priority-queue/>, or <rendezvous-queue/>). If no queue sub-element is provided, the channel type will be a DirectChannel.
This commit is contained in:
@@ -7,9 +7,11 @@
|
||||
http://www.springframework.org/schema/integration
|
||||
http://www.springframework.org/schema/integration/spring-integration-1.0.xsd">
|
||||
|
||||
<si:message-bus/>
|
||||
<si:message-bus auto-startup="false"/>
|
||||
|
||||
<si:channel id="requestChannel"/>
|
||||
<si:channel id="requestChannel">
|
||||
<si:queue capacity="10"/>
|
||||
</si:channel>
|
||||
|
||||
<si:jms-gateway id="gatewayWithConcurrentConsumers"
|
||||
connection-factory="testConnectionFactory"
|
||||
|
||||
@@ -7,9 +7,11 @@
|
||||
http://www.springframework.org/schema/integration
|
||||
http://www.springframework.org/schema/integration/spring-integration-1.0.xsd">
|
||||
|
||||
<si:message-bus/>
|
||||
<si:message-bus auto-startup="false"/>
|
||||
|
||||
<si:channel id="requestChannel"/>
|
||||
<si:channel id="requestChannel">
|
||||
<si:queue capacity="10"/>
|
||||
</si:channel>
|
||||
|
||||
<si:jms-gateway id="defaultGateway"
|
||||
destination="testDestination"
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
|
||||
<si:message-bus/>
|
||||
|
||||
<si:channel id="channel"/>
|
||||
<si:channel id="channel">
|
||||
<si:queue capacity="10"/>
|
||||
</si:channel>
|
||||
|
||||
<si:channel-adapter source="jmsSource" channel="channel">
|
||||
<si:poller period="5000" initial-delay="0" max-messages-per-poll="1"/>
|
||||
|
||||
Reference in New Issue
Block a user