public interface LoadablePropertiesSource extends PropertiesSource
Ordered
to control the ordering of which sources are used by the Camel properties
component. The source with the highest precedence (the lowest number) will be used first.Modifier and Type | Method and Description |
---|---|
Properties |
loadProperties()
Loads the properties from the source
|
Properties |
loadProperties(Predicate<String> filter)
Loads the properties from the source filtering them out according to a predicate.
|
void |
reloadProperties(String location)
Re-loads the properties from the file location
|
getName, getProperty
Properties loadProperties()
Properties loadProperties(Predicate<String> filter)
filter
- the predicate used to filter out properties based on the key.void reloadProperties(String location)
location
- the location of the propertiesApache Camel