[
https://issues.apache.org/jira/browse/CAMEL-20663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-20663:
--------------------------------
Fix Version/s: 4.4.2
> 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
> Fix For: 4.4.2, 4.6.0
>
>
> 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)