camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boday <ben.o...@initekconsulting.com>
Subject Re: Quick question on Exchange
Date Tue, 04 Jun 2013 17:49:47 GMT
the end of the route will handle that for you...if you need to explicitly
stop the Exchange processing before the end of the route, you can do this by
setting exchange.setProperty(Exchange.ROUTE_STOP, Boolean.TRUE)...


Cristiano Costantini wrote
> Hi All,
> 
> at the end of a route I process exchanges coming from a CxfEndpoint.
> 
> Until now I had only InOut exchanges, of which I process the input and set
> the getOut().setBody(...) to the new value (which goes back to the
> client).
> 
> Now I have also a InOnly exchange, of which I process the input only but I
> leave untouched.
> 
> As I'm at the end of the route, should I do something to notify the
> processing of the exchange is completed?
> 
> I've remember vaguely of a "complete flag" somewhere in the documentation
> of Camel I've studied, but I've not found anything on the Exchange
> interface...
> 
> Thank you!
> 
> Cristiano





-----
Ben O'Day
IT Consultant -http://consulting-notes.com

--
View this message in context: http://camel.465427.n5.nabble.com/Quick-question-on-Exchange-tp5733817p5733818.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message