Hi,

I am routing messages more than once and because of that, when last consumer
gets the message and sends back a response I am getting nothing in the first
producer. Sounds a bit complicated but there we go:
I've got two routes:

from("activemq:entryQueue").choice()
                .when().method("my.WhenBean",
"check").to("activemq:detourQueue")
                .otherwise().to("activemq:actionQueue")

from("activemq:detourQueue").delay().expression(bean(my.DelayerBean.class,
"sendAtTime")).asyncDelayed().to("activemq:entryQueue")

I am testing a scenario, where a message goes 5 times through the
detourQueue and then goes to actionQueue.
On actionQueue I've got a POJO consumer who will just send a response back.
Unfortunately producer which sent the message to the entryQueue first time
is not getting it.
When the message goes straight from entryQueue to actionQueue everything is
fine.

Any info on how to get this working?

Thanks,
Krystian
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Cannot-reply-to-a-message-routed-more-than-once-by-Camel-tp3266433p3266433.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to