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
ConstructorsModifierConstructorDescriptionprotected
ApiMethodPropertiesHelper
(org.apache.camel.CamelContext context, Class<C> componentConfiguration, String propertyPrefix) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getConfigurationProperties
(org.apache.camel.CamelContext context, Object endpointConfiguration, Map<String, Object> properties) void
getEndpointProperties
(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
-