Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
Unknown
Description
In Java (or other programming languages like groovy/kotlin) we could potentially have a base method in RouteBuilder that can capture the method name that can be useful as route id.
This allows users to use separate methods per route, and call them via configure()
void configure()
{ foo(); bar(); }private void foo()
{ from xxx routeId (methodName()) ... }private void bar()
{ from yyy routeId (methodName()) ... }Then the routes are named foo, bar and so forth