Hi guys,

thanks for the info about ActiveMQ message groups, it would work
perfectly... unfortunately my solution is a tad more complicated.
I didn't go into detail in the first message, sorry about that.
One action concerns 2 users. It is an action between two of them. So my
message, which is actually a Map Message contains two fields:
userA, userB
Depending on the initiator of the action, this user will be userA and the
other user will be userB.

So i unfortunately cannot create groups with userId, simply because I always
have 2 and none of them can participate in any other action when this one is
executed.
So it I have:
userA, userB, userC, userD and get this actions:
1. userA, userB
2. userB, userC
3. userC, userD

I want the first one to run, the second one to wait and the third one to
run. Then when the first action is done and the third action is done the
second one can be executed.
If I were to use message groups I would not be able to create groups in a
way where message 1,2  and 3 would end up on the same queue.

A little bit complicated, yes, but these are the requirements :(
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Cannot-reply-to-a-message-routed-by-camel-tp3254431p3255253.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to