[
https://issues.apache.org/jira/browse/CAMEL-10393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589138#comment-15589138
]
Claus Ibsen commented on CAMEL-10393:
-------------------------------------
Can we flip the option so its disableXXX because disableXXX=true is often
confusing.
Maybe a better name is
defaultResolutionEnabled
Or
defaultFallbackEnabled
or
defaultValueEnabled=true
And let it be true by default.
> camel-properties: Add an option to disable using default value if a property
> does not exists
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-10393
> URL: https://issues.apache.org/jira/browse/CAMEL-10393
> Project: Camel
> Issue Type: Improvement
> Components: camel-blueprint, camel-core, camel-spring
> Reporter: Luca Burgazzoli
> Assignee: Luca Burgazzoli
> Priority: Minor
> Fix For: 2.19.0
>
>
> As today you can provide a default value to a property placeholder by using
> colon separator i.e:
> key:defaultValue
> Sometime you may want the property to be taken into account as it is because
> you may have your own resolution strategy i.e. in OSGi Blueprint you can
> create your own evaluator which may use colon as separator and as today the
> evaluator won't be invoked because the DefaultPropertiesParser thinks the
> property has a default value associated and splits it.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)