You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ronny Aerts (JIRA)" <ji...@apache.org> on 2017/05/13 10:38:04 UTC
[jira] [Created] (CAMEL-11272) ReloadStrategySupport wrongly logs
"Routes with no id's detected"
Ronny Aerts created CAMEL-11272:
-----------------------------------
Summary: ReloadStrategySupport wrongly logs "Routes with no id's detected"
Key: CAMEL-11272
URL: https://issues.apache.org/jira/browse/CAMEL-11272
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.19.0
Reporter: Ronny Aerts
Priority: Minor
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:
{code}
unassignedRouteIds |= route.hasCustomIdAssigned();
{code}
while this should be (mark the negation):
{code}
unassignedRouteIds |= !route.hasCustomIdAssigned();
{code}
This is a minor issues because this is only a warning message in the logs with no further impact.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)