[ 
https://issues.apache.org/jira/browse/CAMEL-11272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009289#comment-16009289
 ] 

Claus Ibsen commented on CAMEL-11272:
-------------------------------------

Can you provide a github PR with a fix

> 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
>              Labels: easyfix
>             Fix For: 2.19.1, 2.20.0
>
>
> 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)

Reply via email to