Look at the unit of work on the exchange as it contains message
history details. In rhe the current route id as well.

On Monday, March 28, 2011, JacobS <jacobhame...@gmail.com> wrote:
> Thanks the java predicate works but I still have  problem identifying  the
> route that is being checked for interception.
> I tried using the 'exchange.getFromEndpoint().getEndpointUri()' but this
> only returns the endpoint which originated this message exchange .
> Is there a way to get the RouteId in the predicate ?
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Add-a-Processor-to-a-route-at-runtime-tp4257724p4267538.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to