org.apache.camel.component.properties
Interface PropertiesResolver
- All Known Implementing Classes:
- DefaultPropertiesResolver
public interface PropertiesResolver
A resolver to load properties from a given source such as a file from a classpath.
Implementations can also load properties from another source source as JNDI.
- Version:
resolveProperties
Properties resolveProperties(CamelContext context,
boolean ignoreMissingLocation,
String... uri)
throws Exception
- Resolve properties from the given uri
- Parameters:
context
- the camel contextignoreMissingLocation
- ignore silently if the property file is missinguri
- uri(s) defining the source(s)
- Returns:
- the properties
- Throws:
Exception
- is thrown if resolving the properties failed
Apache CAMEL