Property endpoints allow you to resolve the address for the endpoint using a property placeholder. Property placeholders can be created using a properties file, OSGi properties, the OSGi registry, Spring beans, or as part of the route definition.
The URI format for a property endpoint is:
properties:key
[?options
]
Where key
is the key for the property to lookup.
Table 52.1 describes the options for a property endpoint.
Table 52.1. Properties options
Name | Default | Description |
---|---|---|
cache | true | Specifies whether to cache loaded properties. |
locations | Specifies a list of locations from which to load properties. A comma separated
list is use to specify multiple locations. This option will override any locations
specified in the camelContext or the
configuration. |