camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: CAMEL-11272: ReloadStrategySupport wrongly logs
Date Tue, 16 May 2017 12:54:14 GMT
CAMEL-11272: ReloadStrategySupport wrongly logs


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1572b3de
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1572b3de
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1572b3de

Branch: refs/heads/camel-2.19.x
Commit: 1572b3de455d51bbf31dc6613f1b80432b8fbccb
Parents: 4d7d173
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue May 16 14:48:33 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue May 16 14:54:06 2017 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/support/ReloadStrategySupport.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/1572b3de/camel-core/src/main/java/org/apache/camel/support/ReloadStrategySupport.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/support/ReloadStrategySupport.java
b/camel-core/src/main/java/org/apache/camel/support/ReloadStrategySupport.java
index 0f9520c..ff985c3 100644
--- a/camel-core/src/main/java/org/apache/camel/support/ReloadStrategySupport.java
+++ b/camel-core/src/main/java/org/apache/camel/support/ReloadStrategySupport.java
@@ -135,7 +135,7 @@ public abstract class ReloadStrategySupport extends ServiceSupport implements
Re
                 CollectionStringBuffer csb = new CollectionStringBuffer(",");
                 // collect route ids and force assign ids if not in use
                 for (RouteDefinition route : routes) {
-                    unassignedRouteIds |= route.hasCustomIdAssigned();
+                    unassignedRouteIds |= !route.hasCustomIdAssigned();
                     String id = route.idOrCreate(camelContext.getNodeIdFactory());
                     csb.append(id);
                 }


Mime
View raw message