174.3. Spring Boot Auto-Configuration

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

名称描述默认类型

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

布尔值