camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajith Muditha Attapattu <rajit...@gmail.com>
Subject How to figure out the current route id from debugBefore/After
Date Thu, 25 Aug 2016 02:08:09 GMT
I'm overriding debugBefore and debugAfter in my test.
I'm using CamelTestSupport

The test involves multiple sub-routes called by the Route I'm testing.
I'm using the above methods to create a trail.

I'm wondering how I could grab the routeId of the route the exchanging
is passing through.
exchange.getFromRouteId() will only contain the routeId of the parent route.

Regards,

Rajith Muditha Attapattu

Mime
View raw message