354.2. Twitter 组件

二十个组件可以通过 Twitter 帐户设置来配置,在使用之前是强制进行配置。

Twitter 组件支持 9 个选项,它们如下所列。

名称描述默认类型

accessToken (安全性)

访问令牌

 

字符串

accessTokenSecret (security)

访问令牌 secret

 

字符串

consumerKey (security)

消费者密钥

 

字符串

consumerSecret (security)

使用者 secret

 

字符串

httpProxyHost (proxy)

可用于 camel-twitter 的 http 代理主机。

 

字符串

httpProxyUser (proxy)

可用于 camel-twitter 的 http 代理用户。

 

字符串

httpProxyPassword (proxy)

可用于 camel-twitter 的 http 代理密码。

 

字符串

httpProxyPort (proxy)

可用于 camel-twitter 的 http 代理端口。

 

int

resolveProperty Placeholders (advanced)

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

true

布尔值

您还可以直接在端点中配置这些选项。