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.
