Reputation: 9616
I have multiple Queues and I want to use a single Gateway. I have default channel. Is there a simple way to define multiple source of Queues.
In this case "Simple" is defined as simplicity of runtime complexity than configuration.
Upvotes: 1
Views: 273
Reputation: 121560
Looks like you need RecipientListRouter:
<int:recipient-list-router input-channel="routingChannel">
<int:recipient channel="queue1"/>
<int:recipient channel="queue2"/>
</int:recipient-list-router>
Upvotes: 1