175.3. Spring Boot Auto-Configuration
组件支持 9 个选项,如下所列。
| Name | 描述 | 默认值 | 类型 |
|---|---|---|---|
| camel.component.jgroups.channel | 要使用的频道。选项是一个 org.jgroups.JChannel 类型。 | 字符串 | |
| camel.component.jgroups.channel-properties | 指定端点使用的 JChannel 的配置属性。 | 字符串 | |
| camel.component.jgroups.enable-view-messages | 如果设置为 true,则消费者端点也会收到 org.jgroups.View 消息(不仅仅是 org.jgroups.Message 实例)。默认情况下,端点只消耗常规消息。 | false | 布尔值 |
| camel.component.jgroups.enabled | 启用 jgroups 组件 | true | 布尔值 |
| camel.component.jgroups.lock.cluster.service.enabled | 设定是否应启用 jgroups 锁定群集服务,默认为 false。 | false | 布尔值 |
| camel.component.jgroups.lock.cluster.service.id | Cluster Service ID | 字符串 | |
| camel.component.jgroups.lock.cluster.service.jgroups-cluster-name | JGroups 集群名称 | 字符串 | |
| camel.component.jgroups.lock.cluster.service.jgroups-config | JGrups 配置文件名称 | 字符串 | |
| camel.component.jgroups.resolve-property-placeholders | 启动时组件是否应解析自身上的属性占位符。只有属于 String 类型的属性才能使用属性占位符。 | true | 布尔值 |