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 2024/04/13 07:22:00 UTC
[jira] [Assigned] (CAMEL-20663) camel-main: baseMainSupport may fail to doConfigureCamelContextFromMainConfiguration
[ https://issues.apache.org/jira/browse/CAMEL-20663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-20663:
-----------------------------------
Assignee: Claus Ibsen
> camel-main: baseMainSupport may fail to doConfigureCamelContextFromMainConfiguration
> -------------------------------------------------------------------------------------
>
> Key: CAMEL-20663
> URL: https://issues.apache.org/jira/browse/CAMEL-20663
> Project: Camel
> Issue Type: Bug
> Components: camel-main
> Affects Versions: 4.4.1
> Reporter: Jiri Ondrusek
> Assignee: Claus Ibsen
> Priority: Major
>
> According to [https://camel.apache.org/manual/camel-4x-upgrade-guide-4_4.html#_camel_main,] the property for enabling routeController is `{{{}camel.routecontroller.enabled{}}}.` Unfortunatelly if such property is used, following code is ignoring it ([https://github.com/apache/camel/blob/main/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java#L1103)] - because od lowercase vs camelCase.
>
> If I changethe if to ignore case, I got another error, because value is not loaded correctly (in the next lines of the baseMainSupport)
> Problem can be simulated whenrunning test on camel-quarkus-examples/health (just change property in this line [https://github.com/apache/camel-quarkus-examples/blob/main/health/src/main/resources/application.properties#L31] to camel.routeController.enabled = true
>
> I think that more properties might be affected by this error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)