org.apache.camel.util.component
Class ApiMethodPropertiesHelper<C>
java.lang.Object
org.apache.camel.util.component.ApiMethodPropertiesHelper<C>
public abstract class ApiMethodPropertiesHelper<C>
- extends Object
Helper class to work with ApiMethod arguments to be extended by components.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.slf4j.Logger LOG
componentConfigFields
protected final Set<String> componentConfigFields
componentConfigClass
protected final Class<?> componentConfigClass
propertyPrefix
protected final String propertyPrefix
ApiMethodPropertiesHelper
protected ApiMethodPropertiesHelper(Class<C> componentConfiguration,
String propertyPrefix)
getExchangeProperties
public Map<String,Object> getExchangeProperties(Exchange exchange,
Map<String,Object> properties)
- Gets exchange header properties that start with propertyPrefix.
- Parameters:
exchange - Camel exchangeproperties - map to collect properties with required prefix
getEndpointProperties
public void getEndpointProperties(Object endpointConfiguration,
Map<String,Object> properties)
getEndpointPropertyNames
public Set<String> getEndpointPropertyNames(Object endpointConfiguration)
getValidEndpointProperties
public Set<String> getValidEndpointProperties(Object endpointConfiguration)
Apache Camel