Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.19.0
-
Novice
Description
I tested the "Auto reload XML files" which is new in camel 2.19.0.
All my xml routes in the camel context have an id and still I keep getting a "Routes with no id's detected. Its recommended to assign id's to your routes so Camel can reload the routes correctly." warning message in my logs when I update the camel context file.
The ReloadStrategySupport.java says in line 138:
unassignedRouteIds |= route.hasCustomIdAssigned();
while this should be (mark the negation):
unassignedRouteIds |= !route.hasCustomIdAssigned();
This is a minor issues because this is only a warning message in the logs with no further impact.