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

Claus Ibsen commented on CAMEL-15438:
-------------------------------------

Okay so how far should we go with dashes? 

camel-main support dash style ala:

camel.component.seda.blocking-queue-factory

But you cannot do

camel-component-seda-blocking-queue-factory

The latter would be hard to support as we would then need to use "trial and 
error" to find out if the dash represents a nested level or just a name with 
mixed case.



> properties-binding: support for dash style keys
> -----------------------------------------------
>
>                 Key: CAMEL-15438
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15438
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Luca Burgazzoli
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.5.0
>
>
> It would be nice if the PropertiesBindingSupport would directly support dash 
> style properties so the builder could have an additional option to control if 
> converting from dash to camel case is required, like:
> {code:java}
>  PropertyBindingSupport.build()
>             .withIgnoreCase(true)
>             .withDash(true)
>             .withCamelContext(context)
>             .withTarget(target)
>             .withProperties(properties)
>             .bind();
> {code}



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

Reply via email to