org.apache.camel.builder.script
Class ScriptPropertiesFunction
java.lang.Object
org.apache.camel.builder.script.ScriptPropertiesFunction
- All Implemented Interfaces:
- PropertiesFunction
public class ScriptPropertiesFunction
- extends Object
- implements PropertiesFunction
Method Summary |
String |
resolve(String key)
Resolve the given key using the property placeholders |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptPropertiesFunction
public ScriptPropertiesFunction(org.apache.camel.CamelContext context)
resolve
public String resolve(String key)
throws Exception
- Description copied from interface:
PropertiesFunction
- Resolve the given key using the property placeholders
- Specified by:
resolve
in interface PropertiesFunction
- Parameters:
key
- the key
- Returns:
- the resolved value
- Throws:
Exception
Apache Camel