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 Summary
-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
clientURL
default FacebookComponentBuilderFactory.FacebookComponentBuilder clientURL(String clientURL)
Facebook4J API client URL. The option is a:java.lang.String
type. Group: common
-
clientVersion
default FacebookComponentBuilderFactory.FacebookComponentBuilder clientVersion(String clientVersion)
Facebook4J client API version. The option is a:java.lang.String
type. Group: common
-
debugEnabled
default FacebookComponentBuilderFactory.FacebookComponentBuilder debugEnabled(Boolean debugEnabled)
Enables deubg output. Effective only with the embedded logger. The option is a:java.lang.Boolean
type. Default: false Group: common
-
gzipEnabled
default FacebookComponentBuilderFactory.FacebookComponentBuilder gzipEnabled(Boolean gzipEnabled)
Use Facebook GZIP encoding. The option is a:java.lang.Boolean
type. Default: true Group: common
-
httpConnectionTimeout
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpConnectionTimeout(Integer httpConnectionTimeout)
Http connection timeout in milliseconds. The option is a:java.lang.Integer
type. Default: 20000 Group: common
-
httpDefaultMaxPerRoute
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpDefaultMaxPerRoute(Integer httpDefaultMaxPerRoute)
HTTP maximum connections per route. The option is a:java.lang.Integer
type. Default: 2 Group: common
-
httpMaxTotalConnections
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpMaxTotalConnections(Integer httpMaxTotalConnections)
HTTP maximum total connections. The option is a:java.lang.Integer
type. Default: 20 Group: common
-
httpReadTimeout
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpReadTimeout(Integer httpReadTimeout)
Http read timeout in milliseconds. The option is a:java.lang.Integer
type. Default: 120000 Group: common
-
httpRetryCount
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpRetryCount(Integer httpRetryCount)
Number of HTTP retries. The option is a:java.lang.Integer
type. Default: 0 Group: common
-
httpRetryIntervalSeconds
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpRetryIntervalSeconds(Integer httpRetryIntervalSeconds)
HTTP retry interval in seconds. The option is a:java.lang.Integer
type. Default: 5 Group: common
-
httpStreamingReadTimeout
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpStreamingReadTimeout(Integer httpStreamingReadTimeout)
HTTP streaming read timeout in milliseconds. The option is a:java.lang.Integer
type. Default: 40000 Group: common
-
jsonStoreEnabled
default FacebookComponentBuilderFactory.FacebookComponentBuilder jsonStoreEnabled(Boolean jsonStoreEnabled)
If set to true, raw JSON forms will be stored in DataObjectFactory. The option is a:java.lang.Boolean
type. Default: false Group: common
-
mbeanEnabled
default FacebookComponentBuilderFactory.FacebookComponentBuilder mbeanEnabled(Boolean mbeanEnabled)
If set to true, Facebook4J mbean will be registerd. The option is a:java.lang.Boolean
type. Default: false Group: common
-
prettyDebugEnabled
default FacebookComponentBuilderFactory.FacebookComponentBuilder prettyDebugEnabled(Boolean prettyDebugEnabled)
Prettify JSON debug output if set to true. The option is a:java.lang.Boolean
type. Default: false Group: common
-
restBaseURL
default FacebookComponentBuilderFactory.FacebookComponentBuilder restBaseURL(String restBaseURL)
API base URL. The option is a:java.lang.String
type. Default: https://graph.facebook.com/ Group: common
-
useSSL
default FacebookComponentBuilderFactory.FacebookComponentBuilder useSSL(Boolean useSSL)
Use SSL. The option is a:java.lang.Boolean
type. Default: true Group: common
-
videoBaseURL
default FacebookComponentBuilderFactory.FacebookComponentBuilder videoBaseURL(String videoBaseURL)
Video API base URL. The option is a:java.lang.String
type. Default: https://graph-video.facebook.com/ Group: common
-
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:boolean
type. Default: false Group: consumer
-
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:boolean
type. Default: false Group: producer
-
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:boolean
type. Default: true Group: advanced
-
configuration
default FacebookComponentBuilderFactory.FacebookComponentBuilder configuration(org.apache.camel.component.facebook.config.FacebookConfiguration configuration)
To use the shared configuration. The option is a:org.apache.camel.component.facebook.config.FacebookConfiguration
type. Group: advanced
-
httpProxyHost
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpProxyHost(String httpProxyHost)
HTTP proxy server host name. The option is a:java.lang.String
type. Group: proxy
-
httpProxyPassword
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpProxyPassword(String httpProxyPassword)
HTTP proxy server password. The option is a:java.lang.String
type. Group: proxy
-
httpProxyPort
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpProxyPort(Integer httpProxyPort)
HTTP proxy server port. The option is a:java.lang.Integer
type. Group: proxy
-
httpProxyUser
default FacebookComponentBuilderFactory.FacebookComponentBuilder httpProxyUser(String httpProxyUser)
HTTP proxy server user name. The option is a:java.lang.String
type. Group: proxy
-
oAuthAccessToken
default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthAccessToken(String oAuthAccessToken)
The user access token. The option is a:java.lang.String
type. Group: security
-
oAuthAccessTokenURL
default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthAccessTokenURL(String oAuthAccessTokenURL)
OAuth access token URL. The option is a:java.lang.String
type. Default: https://graph.facebook.com/oauth/access_token Group: security
-
oAuthAppId
default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthAppId(String oAuthAppId)
The application Id. The option is a:java.lang.String
type. Group: security
-
oAuthAppSecret
default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthAppSecret(String oAuthAppSecret)
The application Secret. The option is a:java.lang.String
type. Group: security
-
oAuthAuthorizationURL
default FacebookComponentBuilderFactory.FacebookComponentBuilder oAuthAuthorizationURL(String oAuthAuthorizationURL)
OAuth authorization URL. The option is a:java.lang.String
type. Default: https://www.facebook.com/dialog/oauth Group: security
-
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:java.lang.String
type. Group: security
-
-