org.apache.camel.builder.script
Interface PropertiesFunction

All Known Implementing Classes:
ScriptPropertiesFunction

public interface PropertiesFunction

Function in scripting languages to leverage the Camel org.apache.camel.component.properties.PropertiesComponent to make it easier to resolve property placeholders.


Method Summary
 String resolve(String key)
          Resolve the given key using the property placeholders
 

Method Detail

resolve

String resolve(String key)
               throws Exception
Resolve the given key using the property placeholders

Parameters:
key - the key
Returns:
the resolved value
Throws:
Exception


Apache Camel