99.3. Spring Boot Auto-Configuration
组件支持 29 选项,它们如下所列。
| 名称 | 描述 | 默认 | 类型 |
|---|---|---|---|
| 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 | 字符串 | |
| 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 | 字符串 | |
| 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 调试输出 | false | 布尔值 |
| camel.component.facebook.configuration.rest-base-u-r-l | API 基础 URL | 字符串 | |
| camel.component.facebook.configuration.use-s-s-l | 使用 SSL | true | 布尔值 |
| camel.component.facebook.configuration.video-base-u-r-l | 视频 API 基础 URL | 字符串 | |
| camel.component.facebook.enabled | 启用 facebook 组件 | true | 布尔值 |
| camel.component.facebook.resolve-property-placeholders | 启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。 | true | 布尔值 |