36.3. Spring Boot Auto-Configuration
组件支持 32 个选项,它们如下所列。
| Name | 描述 | 默认 | 类型 |
|---|---|---|---|
| camel.component.aws-swf.access-key | Amazon AWS 访问密钥。 | 字符串 | |
| camel.component.aws-swf.configuration.access-key | Amazon AWS 访问密钥。 | 字符串 | |
| camel.component.aws-swf.configuration.activity-list | 用于消耗活动的列表名称。 | 字符串 | |
| camel.component.aws-swf.configuration.activity-scheduling-options | 活动调度选项 | ActivityScheduling 选项 | |
| camel.component.aws-swf.configuration.activity-thread-pool-size | 工作池中用于活动的最大线程数。 | 100 | 整数 |
| camel.component.aws-swf.configuration.activity-type-execution-options | 活动执行选项 | ActivityTypeExecution Options | |
| camel.component.aws-swf.configuration.activity-type-registration-options | 活动注册选项 | ActivityType RegistrationOptions | |
| camel.component.aws-swf.configuration.amazon-s-w-client | 使用给定的 AmazonSimpleWorkflowClient 作为客户端 | AmazonSimpleWorkflow Client | |
| camel.component.aws-swf.configuration.child-policy | 终止工作流时要用于子工作流的策略。 | 字符串 | |
| camel.component.aws-swf.configuration.client-configuration-parameters | 使用 map 中的键/值配置 ClientConfiguration。 | map | |
| camel.component.aws-swf.configuration.data-converter | 一个 com.amazonaws.services.simpleworkflow.flow.DataConverter 实例,以用于对数据进行序列化/反序列化。 | DataConverter | |
| camel.component.aws-swf.configuration.domain-name | 要使用的工作流域。 | 字符串 | |
| camel.component.aws-swf.configuration.event-name | 要使用的工作流或活动事件名称。 | 字符串 | |
| camel.component.aws-swf.configuration.execution-start-to-close-timeout | 将执行开始设置为关闭超时。 | 3600 | 字符串 |
| camel.component.aws-swf.configuration.operation | 工作流操作 | 开始 | 字符串 |
| camel.component.aws-swf.configuration.region | Amazon AWS 区域。 | 字符串 | |
| camel.component.aws-swf.configuration.s-w-client-parameters | 使用 map 中的键/值配置 AmazonSimpleWorkflowClient。 | map | |
| camel.component.aws-swf.configuration.secret-key | Amazon AWS 机密密钥。 | 字符串 | |
| camel.component.aws-swf.configuration.signal-name | 要发送到工作流的信号名称。 | 字符串 | |
| camel.component.aws-swf.configuration.start-workflow-options-parameters | 使用 Map 中的键/值配置 StartWorkflowOptions。 | map | |
| camel.component.aws-swf.configuration.state-result-type | 查询工作流状态时的结果类型。 | 字符串 | |
| camel.component.aws-swf.configuration.task-start-to-close-timeout | 将任务 start 设置为关闭超时。 | 600 | 字符串 |
| camel.component.aws-swf.configuration.termination-details | 终止工作流的详情。 | 字符串 | |
| camel.component.aws-swf.configuration.termination-reason | 终止工作流的原因。 | 字符串 | |
| camel.component.aws-swf.configuration.type | 活动或工作流 | 字符串 | |
| camel.component.aws-swf.configuration.version | 要使用的工作流或活动事件版本。 | 字符串 | |
| camel.component.aws-swf.configuration.workflow-list | 用于消耗工作流的列表名称。 | 字符串 | |
| camel.component.aws-swf.configuration.workflow-type-registration-options | 工作流注册选项 | WorkflowType RegistrationOptions | |
| camel.component.aws-swf.enabled | 启用 aws-swf 组件 | true | 布尔值 |
| camel.component.aws-swf.region | Amazon AWS 区域。 | 字符串 | |
| camel.component.aws-swf.resolve-property-placeholders | 启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。 | true | 布尔值 |
| camel.component.aws-swf.secret-key | Amazon AWS 机密密钥。 | 字符串 |
所需的 SWF 组件选项
您必须在 Registry 或 accessKey 和 secretKey 中提供 amazonSWClient,才能访问 Amazon 的 Simple Workflow Service。