[
https://issues.apache.org/jira/browse/CAMEL-18918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-18918.
---------------------------------
Resolution: Abandoned
> camel-core - Java DSL route builder to capture method name as route id
> ----------------------------------------------------------------------
>
> Key: CAMEL-18918
> URL: https://issues.apache.org/jira/browse/CAMEL-18918
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Priority: Minor
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)