100.3. Spring Boot Auto-Configuration


组件支持 29 个选项,如下所列。

Expand
名称描述默认值类型

camel.component.facebook.configuration.client-u-r-l

Facebook4J API 客户端 URL

 

字符串

camel.component.facebook.configuration.client-version

Facebook4J 客户端 API 版本

 

字符串

camel.component.facebook.configuration.debug-enabled

启用 deubg 输出。仅对嵌入式日志记录器有效

false

布尔值

camel.component.facebook.configuration.gzip-enabled

使用 Facebook GZIP 编码

true

布尔值

camel.component.facebook.configuration.http-connection-timeout

HTTP 连接超时(毫秒)

20000

整数

camel.component.facebook.configuration.http-default-max-per-route

每个路由的 HTTP 最大连接

2

整数

camel.component.facebook.configuration.http-max-total-connections

HTTP 最大连接总数

20

整数

camel.component.facebook.configuration.http-proxy-host

HTTP 代理服务器主机名

 

字符串

camel.component.facebook.configuration.http-proxy-password

HTTP 代理服务器密码

 

字符串

camel.component.facebook.configuration.http-proxy-port

HTTP 代理服务器端口

 

整数

camel.component.facebook.configuration.http-proxy-user

HTTP 代理服务器用户名

 

字符串

camel.component.facebook.configuration.http-read-timeout

HTTP 读取超时(以毫秒为单位)

120000

整数

camel.component.facebook.configuration.http-retry-count

HTTP 重试次数

0

整数

camel.component.facebook.configuration.http-retry-interval-seconds

HTTP 重试间隔(以秒为单位)

5

整数

camel.component.facebook.configuration.http-streaming-read-timeout

HTTP 流读取超时(毫秒)

40000

整数

camel.component.facebook.configuration.json-store-enabled

如果设置为 true,则原始 JSON 表单将存储在 DataObjectFactory 中

false

布尔值

camel.component.facebook.configuration.mbean-enabled

如果设置为 true,Facebook4J mbean 将被注册

false

布尔值

camel.component.facebook.configuration.o-auth-access-token

用户访问令牌

 

字符串

camel.component.facebook.configuration.o-auth-access-token-u-r-l

OAuth 访问令牌 URL

https://graph.facebook.com/oauth/access_token

字符串

camel.component.facebook.configuration.o-auth-app-id

应用程序 Id

 

字符串

camel.component.facebook.configuration.o-auth-app-secret

应用程序 Secret

 

字符串

camel.component.facebook.configuration.o-auth-authorization-u-r-l

OAuth 授权 URL

https://www.facebook.com/dialog/oauth

字符串

camel.component.facebook.configuration.o-auth-permissions

默认 OAuth 权限。以逗号分隔的权限名称。详情请查看 https://developers.facebook.com/docs/reference/login/#permissions

 

字符串

camel.component.facebook.configuration.pretty-debug-enabled

如果设为 true,则 Prettify JSON debug 输出

false

布尔值

camel.component.facebook.configuration.rest-base-u-r-l

API 基础 URL

https://graph.facebook.com/

字符串

camel.component.facebook.configuration.use-s-s-l

使用 SSL

true

布尔值

camel.component.facebook.configuration.video-base-u-r-l

视频 API 基础 URL

https://graph-video.facebook.com/

字符串

camel.component.facebook.enabled

启用 facebook 组件

true

布尔值

camel.component.facebook.resolve-property-placeholders

启动时组件是否应解析自身上的属性占位符。只有属于 String 类型的属性才能使用属性占位符。

true

布尔值

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat