34.3. Spring Boot Auto-Configuration

组件支持 16 个选项,如下所示。

名称描述默认类型

camel.component.aws-sns.access-key

Amazon AWS 访问密钥

 

字符串

camel.component.aws-sns.configuration.access-key

Amazon AWS 访问密钥

 

字符串

camel.component.aws-sns.configuration.amazon-s-n-s-client

使用 AmazonSNS 作为客户端

 

AmazonSNS

camel.component.aws-sns.configuration.message-structure

要使用的消息结构,如 json

 

字符串

camel.component.aws-sns.configuration.policy

此队列的策略

 

字符串

camel.component.aws-sns.configuration.proxy-host

在实例化 SNS 客户端时定义代理主机

 

字符串

camel.component.aws-sns.configuration.proxy-port

在实例化 SNS 客户端时定义代理端口

 

整数

camel.component.aws-sns.configuration.region

SNS 客户端需要工作的区域

 

字符串

camel.component.aws-sns.configuration.secret-key

Amazon AWS Secret Key

 

字符串

camel.component.aws-sns.configuration.subject

如果邮件标题为"CamelAwsSubject"不存在,将使用的主题。

 

字符串

camel.component.aws-sns.configuration.topic-arn

分配给创建的主题的 Amazon 资源名称(ARN)。

 

字符串

camel.component.aws-sns.configuration.topic-name

主题的名称

 

字符串

camel.component.aws-sns.enabled

启用 aws-sns 组件

true

布尔值

camel.component.aws-sns.region

SNS 客户端需要工作的区域

 

字符串

camel.component.aws-sns.resolve-property-placeholders

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

true

布尔值

camel.component.aws-sns.secret-key

Amazon AWS Secret Key

 

字符串

所需的 SNS 组件选项

您必须提供 registry 中的 amazonSNSClient 或您的 accessKey 和 secretKey 以访问 Amazon 的 SNS