org.apache.camel.impl
Class DefaultComponentConfiguration
java.lang.Object
org.apache.camel.impl.ComponentConfigurationSupport
org.apache.camel.impl.DefaultComponentConfiguration
- All Implemented Interfaces:
- ComponentConfiguration
public class DefaultComponentConfiguration
- extends ComponentConfigurationSupport
Default implementation for components which do not inherit from UriEndpointComponent
and
do not have Endpoint classes annotated with UriEndpoint
Methods inherited from class org.apache.camel.impl.ComponentConfigurationSupport |
completeEndpointPath, configureEndpoint, createEndpoint, createParameterJsonSchema, getBaseUri, getParameter, getParameterConfiguration, getParameters, getUriString, setBaseUri, setParameter, setParameters, setUriString, validatePropertyName, validatePropertyValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultComponentConfiguration
public DefaultComponentConfiguration(Component component)
getEndpointParameter
public Object getEndpointParameter(Endpoint endpoint,
String name)
throws RuntimeCamelException
- Description copied from interface:
ComponentConfiguration
- Gets the named URI parameter value on the given endpoint
- Parameters:
endpoint
- the endpoint instancename
- the name of the URI query parameter
- Returns:
- the value of the parameter
- Throws:
RuntimeCamelException
- if the parameter name does not exist on the endpoint
setEndpointParameter
public void setEndpointParameter(Endpoint endpoint,
String name,
Object value)
throws RuntimeCamelException
- Description copied from interface:
ComponentConfiguration
- Sets the named URI query parameter value on the given endpoint
- Parameters:
endpoint
- the endpoint instancename
- the name of the URI query parametervalue
- the new value of the URI query parameter
- Throws:
RuntimeCamelException
getParameterConfigurationMap
public SortedMap<String,ParameterConfiguration> getParameterConfigurationMap()
- Since we have no parameter metadata lets just return parameter configurations for each parameter we
have right now.
- Returns:
- configurations for each current property value
Apache Camel