Properties

Overview

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.

URI format

The URI format for a property endpoint is:

properties:key[?options]

Where key is the key for the property to lookup.

Options

Table 51, “Properties options” describes the options for a property endpoint.

Table 51. Properties options

NameDefaultDescription
cachetrueSpecifies 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.