Hi,
I need some clarification for inOnly(String uri): the documentation states
''Notice the existing MEP is restored after the message has been sent to the
given endpoint."
However with the route below, I loose my original 'Input' object:
from("direct:myRoute")
.process(new Processor() {
public void process(Exchange exchange) throws Exception {
exchange.getIn().setBody(new Input()));
}
})
.inOnly("direct:eventRoute")
And if I change the route to this:
from("direct:myRoute")
.process(new Processor() {
public void process(Exchange exchange) throws Exception {
exchange.getIn().setBody(new Input()));
}
})
.inOnly("seda:eventRoute")
Then my 'Input' object is available in exchange.getOut().getBody()
Thank
--
View this message in context:
http://camel.465427.n5.nabble.com/inOnly-and-original-MEP-tp5723219.html
Sent from the Camel - Users mailing list archive at Nabble.com.