Reputation: 1743
I have several inbound messages that pertain to the same record. They arrive and are brokered out to different queues. Is there an EIP pattern that would allow me to process only one of those at a time, even though they're in different queues?
Thanks.
Upvotes: 0
Views: 129
Reputation: 1117
You could funnel the queues into a SEDA queue:
from("jms:queue:queueA").to("seda:handler");
from("jms:queue:queueB").to("seda:handler");
from("jms:queue:queueC").to("seda:handler");
from("seda:handler").log("processing...");
Upvotes: 2