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:
@@ -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"/>
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user