THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Wiki Markup |
---|
h2. Properties Component *Available as of Camel 2.3* h3. URI format {code} properties:key[?options] {code} Where *key* is the key for the property to lookup h3. Options {div:class=confluenceTableSmall} || Name || Type || Default || Description || | {{cache}} | {{boolean}} | {{true}} | Whether or not to cache loaded properties. | | {{locations}} | {{String}} | {{null}} | A list of locations to load properties. You can use comma to separate multiple locations. This option will override any default locations and *only* use the locations from this option. | | {{propertyPrefix}} | {{String}} | {{null}} | *2.9* Optional prefix prepended to property names before resolution. | | {{propertySuffix}} | {{String}} | {{null}} | *2.9* Optional suffix appended to property names before resolution. | | {{fallbackToUnaugmentedProperty}} | {{boolean}} | {{true}} | *2.9* If true, first attempt resolution of property name augmented with {{propertyPrefix}} and {{propertySuffix}} before falling back the plain property name specified. If false, only the augmented property name is searched. | | {{prefixToken}} | {{String}} | {{ \\ | *2.9* The token to indicate the beginning of a property token. | | {{suffixToken}} | {{String}} | }} \\ | *2.9* The token to indicate the end of a property token. | {div} {tip:title=Resolving property from Java code} You can use the method {{resolvePropertyPlaceholders}} on the {{CamelContext}} to resolve a property from any Java code. {tip} {include:Using PropertyPlaceholder} {include:Endpoint See Also} - [Jasypt] for using encrypted values (eg passwords) in the properties |