org.apache.camel.impl
Class ConfigurationHelper
java.lang.Object
org.apache.camel.impl.ConfigurationHelper
public final class ConfigurationHelper
- extends Object
Some helper methods for working with EndpointConfiguration
instances
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createConfiguration
public static EndpointConfiguration createConfiguration(String uri,
CamelContext context)
throws Exception
- Throws:
Exception
populateFromURI
public static void populateFromURI(CamelContext camelContext,
EndpointConfiguration config,
ConfigurationHelper.ParameterSetter setter)
findConfigurationField
public static Field findConfigurationField(EndpointConfiguration config,
String name)
getConfigurationParameter
public static Object getConfigurationParameter(EndpointConfiguration config,
String name)
getConfigurationParameter
public static Object getConfigurationParameter(EndpointConfiguration config,
Field field)
setConfigurationField
public static <T> void setConfigurationField(CamelContext camelContext,
EndpointConfiguration config,
String name,
T value)
Apache CAMEL