85.3. Spring Boot Auto-Configuration
组件支持 18 个选项,如下所列。
| Name | 描述 | 默认值 | 类型 |
|---|---|---|---|
| camel.component.disruptor-vm.buffer-size | 配置环缓冲大小 | 1024 | 整数 |
| camel.component.disruptor-vm.default-block-when-full | 当 full 的默认值为 true 时,要为 block 配置默认值。 | true | 布尔值 |
| camel.component.disruptor-vm.default-concurrent-consumers | 配置默认的并发消费者数 | 1 | 整数 |
| camel.component.disruptor-vm.default-multiple-consumers | 为多个消费者配置默认值 | false | 布尔值 |
| camel.component.disruptor-vm.default-producer-type | 要为 DisruptorProducerType 配置默认值,默认值为 Multi。 | DisruptorProducerType | |
| camel.component.disruptor-vm.default-wait-strategy | 要为 DisruptorWaitStrategy 配置默认值,默认值为 Blocking。 | DisruptorWaitStrategy | |
| camel.component.disruptor-vm.enabled | 启用 disruptor-vm 组件 | true | 布尔值 |
| camel.component.disruptor-vm.resolve-property-placeholders | 组件是否应在启动时解析属性占位符。只有 String 类型的属性可以使用属性占位符。 | true | 布尔值 |
| camel.component.disruptor.buffer-size | 配置环缓冲大小 | 1024 | 整数 |
| camel.component.disruptor.default-block-when-full | 当 full 的默认值为 true 时,要为 block 配置默认值。 | true | 布尔值 |
| camel.component.disruptor.default-concurrent-consumers | 配置默认的并发消费者数 | 1 | 整数 |
| camel.component.disruptor.default-multiple-consumers | 为多个消费者配置默认值 | false | 布尔值 |
| camel.component.disruptor.default-producer-type | 要为 DisruptorProducerType 配置默认值,默认值为 Multi。 | DisruptorProducerType | |
| camel.component.disruptor.default-wait-strategy | 要为 DisruptorWaitStrategy 配置默认值,默认值为 Blocking。 | DisruptorWaitStrategy | |
| camel.component.disruptor.enabled | 启用 disruptor 组件 | true | 布尔值 |
| camel.component.disruptor.resolve-property-placeholders | 组件是否应在启动时解析属性占位符。只有 String 类型的属性可以使用属性占位符。 | true | 布尔值 |
| camel.component.disruptor-vm.queue-size | 配置环缓冲大小 | 整数 | |
| camel.component.disruptor.queue-size | 配置环缓冲大小 | 整数 |