Hello, Henryk!
Thanks for the hint.
It is a good workaround.
I myself would do something similar: simple pipes and filters or a
content-based router.
I just wanted to see how InOut works "in theory".
So, what I did, I just continued experimenting with routes, and tried the
following:
public void configure() {
from("jms:incomingOrders")
.inOut("jms:validate").log("${body}");
from("jms:validate")
.bean(ValidatorBean.class);
}
After "log" EIP is executed, I can see the "Valid" output.
If I change it to:
from("jms:incomingOrders")
.inOut("jms:validate").to("jms:queue:smth");
from("jms:validate")
.bean(ValidatorBean.class);
I can see the "Valid" in the "smth" queue. Most probably, I missed
something, when I was testing it yesterday...
--
View this message in context:
http://camel.465427.n5.nabble.com/InOut-MEP-tp5767079p5767122.html
Sent from the Camel - Users mailing list archive at Nabble.com.