This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.20.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.20.x by this push: new 51303ddbed3 fix route reload with unassigned route ids 51303ddbed3 is described below commit 51303ddbed317bf825896e5ff0f5fc2ebfee2bed Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Dec 27 14:01:09 2022 +0100 fix route reload with unassigned route ids --- .../main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java b/core/camel-support/src/main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java index ecf753715ac..faa64ed8997 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java @@ -271,7 +271,7 @@ public class RouteWatcherReloadStrategy extends FileWatcherResourceReloadStrateg StringJoiner sj = new StringJoiner("\n "); for (String id : ids) { Route route = getCamelContext().getRoute(id); - if (route.isCustomId()) { + if (!route.isCustomId()) { sj.add(route.getEndpoint().getEndpointUri()); } }