On Mon, Sep 5, 2011 at 2:41 PM, ravi <[email protected]> wrote:
> Following is the way i am using to send exchange:
>
> Map&lt;String, Object&gt; msgBody;
>
> //Populating msgBody with Key Values
>
> exchange.getIn().setBody(msgBody);
> processor.process(exchange);
>
>
> And how can i identify whether Exchange is processed or not ?
>

That is the synchronous way, so when the process method is done, the
exchange ought to be completed synchronously.
It could also be the fact that your producer writes the message async,
but signal to Camel that the exchange is done.


> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Synchronous-Routing-tp4769944p4770361.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to