Hi. I'm currently trying to trace Camel routes, and I'm wondering at how I should query Camel Exchanges for the 'From endpoint' (i.e. the original consumer). It seems to me that I have two options, that behave differently, but I cannot figure out why...
[1] exchange.getFromEndpoint().getEndpointUri() seems to be the most standard way to do things for 'standard' exchanges. [2] exchange.getUnitOfWork().getRouteContext().getFrom seems to be more adequate in the case of uow-managed transactions. What's the right criterion to decide whether or not I should use [1] or [2]? Best regards, -- Guillaume Yziquel Crossing-Tech Parc Scientifique EPFL
