Interface FacebookComponentBuilderFactory.FacebookComponentBuilder

    • Method Detail

      • debugEnabled

        default FacebookComponentBuilderFactory.FacebookComponentBuilder debugEnabled​(Boolean debugEnabled)
        Enables deubg output. Effective only with the embedded logger. The option is a: <code>java.lang.Boolean</code> type. Default: false Group: common
        Parameters:
        debugEnabled - the value to set
        Returns:
        the dsl builder
      • httpConnectionTimeout

        default FacebookComponentBuilderFactory.FacebookComponentBuilder httpConnectionTimeout​(Integer httpConnectionTimeout)
        Http connection timeout in milliseconds. The option is a: <code>java.lang.Integer</code> type. Default: 20000 Group: common
        Parameters:
        httpConnectionTimeout - the value to set
        Returns:
        the dsl builder
      • httpDefaultMaxPerRoute

        default FacebookComponentBuilderFactory.FacebookComponentBuilder httpDefaultMaxPerRoute​(Integer httpDefaultMaxPerRoute)
        HTTP maximum connections per route. The option is a: <code>java.lang.Integer</code> type. Default: 2 Group: common
        Parameters:
        httpDefaultMaxPerRoute - the value to set
        Returns:
        the dsl builder
      • httpMaxTotalConnections

        default FacebookComponentBuilderFactory.FacebookComponentBuilder httpMaxTotalConnections​(Integer httpMaxTotalConnections)
        HTTP maximum total connections. The option is a: <code>java.lang.Integer</code> type. Default: 20 Group: common
        Parameters:
        httpMaxTotalConnections - the value to set
        Returns:
        the dsl builder
      • httpReadTimeout

        default FacebookComponentBuilderFactory.FacebookComponentBuilder httpReadTimeout​(Integer httpReadTimeout)
        Http read timeout in milliseconds. The option is a: <code>java.lang.Integer</code> type. Default: 120000 Group: common
        Parameters:
        httpReadTimeout - the value to set
        Returns:
        the dsl builder
      • httpRetryIntervalSeconds

        default FacebookComponentBuilderFactory.FacebookComponentBuilder httpRetryIntervalSeconds​(Integer httpRetryIntervalSeconds)
        HTTP retry interval in seconds. The option is a: <code>java.lang.Integer</code> type. Default: 5 Group: common
        Parameters:
        httpRetryIntervalSeconds - the value to set
        Returns:
        the dsl builder
      • httpStreamingReadTimeout

        default FacebookComponentBuilderFactory.FacebookComponentBuilder httpStreamingReadTimeout​(Integer httpStreamingReadTimeout)
        HTTP streaming read timeout in milliseconds. The option is a: <code>java.lang.Integer</code> type. Default: 40000 Group: common
        Parameters:
        httpStreamingReadTimeout - the value to set
        Returns:
        the dsl builder
      • jsonStoreEnabled

        default FacebookComponentBuilderFactory.FacebookComponentBuilder jsonStoreEnabled​(Boolean jsonStoreEnabled)
        If set to true, raw JSON forms will be stored in DataObjectFactory. The option is a: <code>java.lang.Boolean</code> type. Default: false Group: common
        Parameters:
        jsonStoreEnabled - the value to set
        Returns:
        the dsl builder
      • mbeanEnabled

        default FacebookComponentBuilderFactory.FacebookComponentBuilder mbeanEnabled​(Boolean mbeanEnabled)
        If set to true, Facebook4J mbean will be registerd. The option is a: <code>java.lang.Boolean</code> type. Default: false Group: common
        Parameters:
        mbeanEnabled - the value to set
        Returns:
        the dsl builder
      • prettyDebugEnabled

        default FacebookComponentBuilderFactory.FacebookComponentBuilder prettyDebugEnabled​(Boolean prettyDebugEnabled)
        Prettify JSON debug output if set to true. The option is a: <code>java.lang.Boolean</code> type. Default: false Group: common
        Parameters:
        prettyDebugEnabled - the value to set
        Returns:
        the dsl builder
      • videoBaseURL

        default FacebookComponentBuilderFactory.FacebookComponentBuilder videoBaseURL​(String videoBaseURL)
        Video API base URL. The option is a: <code>java.lang.String</code> type. Default: https://graph-video.facebook.com/ Group: common
        Parameters:
        videoBaseURL - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default FacebookComponentBuilderFactory.FacebookComponentBuilder bridgeErrorHandler​(boolean bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default FacebookComponentBuilderFactory.FacebookComponentBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • autowiredEnabled

        default FacebookComponentBuilderFactory.FacebookComponentBuilder autowiredEnabled​(boolean autowiredEnabled)
        Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        autowiredEnabled - the value to set
        Returns:
        the dsl builder
      • configuration

        default FacebookComponentBuilderFactory.FacebookComponentBuilder configuration​(org.apache.camel.component.facebook.config.FacebookConfiguration configuration)
        To use the shared configuration. The option is a: <code>org.apache.camel.component.facebook.config.FacebookConfiguration</code> type. Group: advanced
        Parameters:
        configuration - the value to set
        Returns:
        the dsl builder
      • oAuthAccessTokenURL

        default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthAccessTokenURL​(String oAuthAccessTokenURL)
        OAuth access token URL. The option is a: <code>java.lang.String</code> type. Default: https://graph.facebook.com/oauth/access_token Group: security
        Parameters:
        oAuthAccessTokenURL - the value to set
        Returns:
        the dsl builder
      • oAuthAuthorizationURL

        default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthAuthorizationURL​(String oAuthAuthorizationURL)
        OAuth authorization URL. The option is a: <code>java.lang.String</code> type. Default: https://www.facebook.com/dialog/oauth Group: security
        Parameters:
        oAuthAuthorizationURL - the value to set
        Returns:
        the dsl builder
      • oAuthPermissions

        default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthPermissions​(String oAuthPermissions)
        Default OAuth permissions. Comma separated permission names. See https://developers.facebook.com/docs/reference/login/#permissions for the detail. The option is a: <code>java.lang.String</code> type. Group: security
        Parameters:
        oAuthPermissions - the value to set
        Returns:
        the dsl builder