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

@@ -17,8 +17,15 @@
<channel id="orders"/>
<channel id="drinks"/>
<channel id="coldDrinks"/>
<channel id="hotDrinks"/>
<channel id="coldDrinks">
<queue capacity="100"/>
</channel>
<channel id="hotDrinks">
<queue capacity="100"/>
</channel>
<channel id="preparedDrinks"/>
<channel id="deliveries"/>

View File

@@ -10,7 +10,9 @@
<message-bus/>
<channel id="inputChannel"/>
<channel id="outputChannel"/>
<channel id="outputChannel">
<queue capacity="10"/>
</channel>
<service-activator input-channel="inputChannel"
output-channel="outputChannel"