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:

Method Summary
 Properties resolveProperties(CamelContext context, boolean ignoreMissingLocation, String... uri)
          Resolve properties from the given uri
 

Method Detail

resolveProperties

Properties resolveProperties(CamelContext context,
                             boolean ignoreMissingLocation,
                             String... uri)
                             throws Exception
Resolve properties from the given uri

Parameters:
context - the camel context
ignoreMissingLocation - ignore silently if the property file is missing
uri - uri(s) defining the source(s)
Returns:
the properties
Throws:
Exception - is thrown if resolving the properties failed


Apache CAMEL