134.2. Spring Boot Auto-Configuration

组件支持 6 个选项,它们如下所列。

名称描述默认类型

camel.component.hazelcast-map.customizer.hazelcast-instance.enabled

启用或禁用 cache-manager 自定义器。

true

布尔值

camel.component.hazelcast-map.customizer.hazelcast-instance.override

如果组件上最终设置缓存管理器,配置 则由自定义器覆盖。

false

布尔值

camel.component.hazelcast-map.enabled

启用 hazelcast-map 组件

true

布尔值

camel.component.hazelcast-map.hazelcast-instance

hazelcast 实例参考,可用于 hazelcast 端点。如果没有指定实例引用,则 camel 使用 camel-hazelcast 实例中的默认 hazelcast 实例。选项为 com.hazelcast.core.HazelcastInstance 类型。

 

字符串

camel.component.hazelcast-map.hazelcast-mode

应使用哪种实例的 hazelcast 模式。如果没有指定模式,则节点模式将是默认设置。

node

字符串

camel.component.hazelcast-map.resolve-property-placeholders

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

true

布尔值