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 2020/04/28 12:31:00 UTC

[jira] [Commented] (CAMEL-14885) camel-main - Configuration names preserve mixed case

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

Claus Ibsen commented on CAMEL-14885:
-------------------------------------

We now preserve cases, and have dash to camel case for keys, and ignore cases - this is a bit more intuitive and the summary logged will also show the keys with camel case named, instead of all lower cased

> camel-main - Configuration names preserve mixed case
> ----------------------------------------------------
>
>                 Key: CAMEL-14885
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14885
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.3.0
>
>
> When configuring via camel-main in application.properties then names are aligned to lowercase and removed dashes etc. And also to ensure ENV variables can override as they are in not mixed case.
> So lets look at if we can resolve the mixed case key name too, as that would be better to use for @BindToRegistry - eg myBean -> myBean instead of myBean -> mybean



--
This message was sent by Atlassian Jira
(v8.3.4#803005)