Class FacebookPropertiesHelper
- java.lang.Object
-
- org.apache.camel.component.facebook.data.FacebookPropertiesHelper
-
public final class FacebookPropertiesHelper extends Object
Helper class to work with Facebook component properties.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
configureReadingProperties(FacebookEndpointConfiguration configuration, Map<String,Object> options)
Apply properties forReading
type to the suppliedFacebookEndpointConfiguration
.static void
getEndpointProperties(org.apache.camel.CamelContext camelContext, FacebookEndpointConfiguration configuration, Map<String,Object> properties)
static Set<String>
getEndpointPropertyNames(org.apache.camel.CamelContext camelContext, FacebookEndpointConfiguration configuration)
static Map<String,Object>
getExchangeProperties(org.apache.camel.Exchange exchange, Map<String,Object> properties)
Gets exchange header properties that start withFacebookConstants
.FACEBOOK_PROPERTY_PREFIX.static Set<String>
getValidEndpointProperties()
-
-
-
Method Detail
-
configureReadingProperties
public static void configureReadingProperties(FacebookEndpointConfiguration configuration, Map<String,Object> options)
Apply properties forReading
type to the suppliedFacebookEndpointConfiguration
.- Parameters:
configuration
- endpoint configuration to updateoptions
- properties to apply to the reading field in configuration
-
getExchangeProperties
public static Map<String,Object> getExchangeProperties(org.apache.camel.Exchange exchange, Map<String,Object> properties)
Gets exchange header properties that start withFacebookConstants
.FACEBOOK_PROPERTY_PREFIX.- Parameters:
exchange
- Camel exchangeproperties
- map to collect properties with required prefix
-
getEndpointProperties
public static void getEndpointProperties(org.apache.camel.CamelContext camelContext, FacebookEndpointConfiguration configuration, Map<String,Object> properties)
-
getEndpointPropertyNames
public static Set<String> getEndpointPropertyNames(org.apache.camel.CamelContext camelContext, FacebookEndpointConfiguration configuration)
-
-