camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10393) camel-properties: Add an option to disable using default value if a property does not exists
Date Mon, 17 Oct 2016 12:07:58 GMT
Luca Burgazzoli created CAMEL-10393:
---------------------------------------

             Summary: 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)

Mime
View raw message