Welcome to the Camel community

The pattern you talk about smells like the composite message processor
http://camel.apache.org/composed-message-processor.html

Its in the EIP book as well.

However in your case you don't split a message beforehand, but send a
message to 2 clients.

In Camel you could do something like (pseudo code)

from(client)
to(a)
to(b)

from(client-replies)
aggregate
   correlate using some sort of ID so you can "pair" replies
   completionSize = 2
   to(okay msg received)
   // finish


See more details about the Aggregate pattern
http://camel.apache.org/composed-message-processor.html

Also its in chapter 8 in the book.



--
View this message in context: 
http://camel.465427.n5.nabble.com/EIP-Can-you-please-help-me-choose-a-correct-design-pattern-tp3412244p3412683.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to