Class FacebookPropertiesHelper


  • public final class FacebookPropertiesHelper
    extends Object
    Helper class to work with Facebook component properties.
    • Method Detail

      • configureReadingProperties

        public static void configureReadingProperties​(FacebookEndpointConfiguration configuration,
                                                      Map<String,​Object> options)
        Apply properties for Reading type to the supplied FacebookEndpointConfiguration.
        Parameters:
        configuration - endpoint configuration to update
        options - 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 with FacebookConstants.FACEBOOK_PROPERTY_PREFIX.
        Parameters:
        exchange - Camel exchange
        properties - map to collect properties with required prefix
      • getValidEndpointProperties

        public static Set<String> getValidEndpointProperties()