public final class FacebookPropertiesHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
configureReadingProperties(FacebookEndpointConfiguration configuration,
Map<String,Object> options)
Apply properties for
Reading type to the supplied FacebookEndpointConfiguration . |
static void |
getEndpointProperties(FacebookEndpointConfiguration configuration,
Map<String,Object> properties) |
static Set<String> |
getEndpointPropertyNames(FacebookEndpointConfiguration configuration) |
static Map<String,Object> |
getExchangeProperties(org.apache.camel.Exchange exchange,
Map<String,Object> properties)
Gets exchange header properties that start with
FacebookConstants .FACEBOOK_PROPERTY_PREFIX. |
static Set<String> |
getValidEndpointProperties() |
public static void configureReadingProperties(FacebookEndpointConfiguration configuration, Map<String,Object> options)
Reading
type to the supplied FacebookEndpointConfiguration
.configuration
- endpoint configuration to updateoptions
- properties to apply to the reading field in configurationpublic static Map<String,Object> getExchangeProperties(org.apache.camel.Exchange exchange, Map<String,Object> properties)
FacebookConstants
.FACEBOOK_PROPERTY_PREFIX.exchange
- Camel exchangeproperties
- map to collect properties with required prefixpublic static void getEndpointProperties(FacebookEndpointConfiguration configuration, Map<String,Object> properties)
public static Set<String> getEndpointPropertyNames(FacebookEndpointConfiguration configuration)
Apache Camel