You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/05/16 12:50:04 UTC

[jira] [Resolved] (CAMEL-11272) ReloadStrategySupport wrongly logs "Routes with no id's detected"

     [ https://issues.apache.org/jira/browse/CAMEL-11272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-11272.
---------------------------------
    Resolution: Fixed
      Assignee: Claus Ibsen

> 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
>            Assignee: Claus Ibsen
>            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)