Mgration from camel 2.x to 3.x. Before I used
route.getRouteContext()
.getFrom()
.getUri()
where route is org.apache.camel.Route
. How can I do it in camel 3.x (to get to FromDefinition
in camel 3.x) or at least could you tell me how can I search for methods in camel 3.x to see where they are placed now
?
CodePudding user response:
Is this a bean based route? If thats the case, it was changed to the following format
route.from().to()
This guide may be very useful on your migration Migrate from camel 2 to 3
CodePudding user response:
I have found it. It is;
route.getRouteContext()
.getFrom()
.getLabel()