Class ApiMethodPropertiesHelper<C>
java.lang.Object
org.apache.camel.support.component.ApiMethodPropertiesHelper<C>
Helper class to work with ApiMethod arguments to be extended by components.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedApiMethodPropertiesHelper(org.apache.camel.CamelContext context, Class<C> componentConfiguration, String propertyPrefix) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetConfigurationProperties(org.apache.camel.CamelContext context, Object endpointConfiguration, Map<String, Object> properties) voidgetEndpointProperties(org.apache.camel.CamelContext context, Object endpointConfiguration, Map<String, Object> properties) getEndpointPropertyNames(org.apache.camel.CamelContext context, Object endpointConfiguration) getExchangeProperties(org.apache.camel.Exchange exchange, Map<String, Object> properties) Gets exchange header properties that start with propertyPrefix.getValidEndpointProperties(org.apache.camel.CamelContext context, Object endpointConfiguration)
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG -
componentConfigFields
-
componentConfigClass
-
propertyPrefix
-
-
Constructor Details
-
ApiMethodPropertiesHelper
-
-
Method Details
-
getExchangeProperties
public Map<String,Object> getExchangeProperties(org.apache.camel.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
-
getEndpointPropertyNames
-
getValidEndpointProperties
-
getConfigurationProperties
-