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:
Mark Fisher
2008-09-01 22:50:56 +00:00
parent a27ae5726e
commit 788b2364ec
56 changed files with 442 additions and 358 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"/>