camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to get exchange Id from spring camel context
Date Wed, 20 Oct 2010 05:26:59 GMT
>From Java code you can just invoke

exchange.getExchangeId()


On Tue, Oct 19, 2010 at 11:51 PM, Naira & Kobo <lekkie.aydot@gmail.com> wrote:
>
> Thanks for the response.
>
> I realised I could get it that way later but I am working with ServiceMix
> 4.1 which comes with camel 2.2 by default and that expression will not be
> evaluated except it is 2.3 and above.
>
> I need the exchange Id so that I can persist an original (the first exchange
> id for a consumer endpoint) exchange id across different endpoints
> (processor endpoints, and provider endpoints) in different camel context.
>
> I already extended the camel trace to persist traces into a database but
> there is no correlation id for same message across different endpoints,
> hence it is difficult to trace a message from a consumer endpoint downstream
> the provider endpoint.
>
> Rgds.
> --
> View this message in context: http://camel.465427.n5.nabble.com/Re-How-to-get-exchange-Id-from-spring-camel-context-tp3225295p3227667.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message