I took another route (pun intended) towards it: camelContext.getRoute( "routeId" ).getRouteContext().getRoute() which is non-deprecated.
But I should still change .adviceWith( camelContext, new AdviceWithRouteBuilder() which is deprecated in favour of the one using ModelCamelContext instead. 2012/3/2 Babak Vahdat <babak.vah...@swissonline.ch>: > And the JIRA-Ticket I did mention before has not been assigned to anybody, > however the revision making those changes point to that Ticket: > > http://svn.apache.org/viewvc?view=revision&revision=1170482 > > Sorry but I do not get it! > > Christian could you please give us any pointer about this? > > Babak > > -- > View this message in context: > http://camel.465427.n5.nabble.com/What-replaces-camelContext-getRouteDefinition-String-routeId-tp5530724p5530855.html > Sent from the Camel Development mailing list archive at Nabble.com. -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen