camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-11272) ReloadStrategySupport wrongly logs "Routes with no id's detected"
Date Sat, 13 May 2017 11:56:04 GMT

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

Claus Ibsen updated CAMEL-11272:
--------------------------------
    Fix Version/s: 2.20.0
                   2.19.1

> 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)

Mime
View raw message