Interface FacebookComponentBuilderFactory.FacebookComponentBuilder

All Superinterfaces:
ComponentBuilder<org.apache.camel.component.facebook.FacebookComponent>
All Known Implementing Classes:
FacebookComponentBuilderFactory.FacebookComponentBuilderImpl
Enclosing interface:
FacebookComponentBuilderFactory

public static interface FacebookComponentBuilderFactory.FacebookComponentBuilder extends ComponentBuilder<org.apache.camel.component.facebook.FacebookComponent>
Builder for the Facebook component.
  • Method Details

    • clientURL

      Facebook4J API client URL. The option is a: <code>java.lang.String</code> type. Group: common
      Parameters:
      clientURL - the value to set
      Returns:
      the dsl builder
    • clientVersion

      Facebook4J client API version. The option is a: <code>java.lang.String</code> type. Group: common
      Parameters:
      clientVersion - the value to set
      Returns:
      the dsl builder
    • 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
    • gzipEnabled

      Use Facebook GZIP encoding. The option is a: <code>java.lang.Boolean</code> type. Default: true Group: common
      Parameters:
      gzipEnabled - 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
    • httpRetryCount

      default FacebookComponentBuilderFactory.FacebookComponentBuilder httpRetryCount(Integer httpRetryCount)
      Number of HTTP retries. The option is a: <code>java.lang.Integer</code> type. Default: 0 Group: common
      Parameters:
      httpRetryCount - 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

      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
    • restBaseURL

      API base URL. The option is a: <code>java.lang.String</code> type. Default: https://graph.facebook.com/ Group: common
      Parameters:
      restBaseURL - the value to set
      Returns:
      the dsl builder
    • useSSL

      Use SSL. The option is a: <code>java.lang.Boolean</code> type. Default: true Group: common
      Parameters:
      useSSL - the value to set
      Returns:
      the dsl builder
    • 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
    • httpProxyHost

      HTTP proxy server host name. The option is a: <code>java.lang.String</code> type. Group: proxy
      Parameters:
      httpProxyHost - the value to set
      Returns:
      the dsl builder
    • httpProxyPassword

      default FacebookComponentBuilderFactory.FacebookComponentBuilder httpProxyPassword(String httpProxyPassword)
      HTTP proxy server password. The option is a: <code>java.lang.String</code> type. Group: proxy
      Parameters:
      httpProxyPassword - the value to set
      Returns:
      the dsl builder
    • httpProxyPort

      HTTP proxy server port. The option is a: <code>java.lang.Integer</code> type. Group: proxy
      Parameters:
      httpProxyPort - the value to set
      Returns:
      the dsl builder
    • httpProxyUser

      HTTP proxy server user name. The option is a: <code>java.lang.String</code> type. Group: proxy
      Parameters:
      httpProxyUser - the value to set
      Returns:
      the dsl builder
    • oAuthAccessToken

      default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthAccessToken(String oAuthAccessToken)
      The user access token. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      oAuthAccessToken - 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
    • oAuthAppId

      The application Id. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      oAuthAppId - the value to set
      Returns:
      the dsl builder
    • oAuthAppSecret

      default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthAppSecret(String oAuthAppSecret)
      The application Secret. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      oAuthAppSecret - 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