163.3. Spring Boot Auto-Configuration


组件支持 21 个选项,如下所列。

Expand
Name描述默认值类型

camel.component.infinispan.cache-container

默认缓存容器。选项是 org.infinispan.commons.api.BasicCacheContainer 类型。

 

字符串

camel.component.infinispan.configuration.cache-container

指定要连接的缓存容器

 

BasicCacheContainer

camel.component.infinispan.configuration.cache-container-configuration

CacheContainer 配置。如果没有定义 cacheContainer,则使用。必须是以下类型:用于远程缓存交互配置的 org.infinispan.client.hotrod.configuration.Configuration - 用于嵌入式缓存交互配置;

 

对象

camel.component.infinispan.configuration.clustered-listener

如果为 true,则会为整个集群安装监听程序

false

布尔值

camel.component.infinispan.configuration.configuration-properties

为 CacheManager 实现特定属性

 

Map

camel.component.infinispan.configuration.configuration-uri

CacheManager 的实现特定 URI

 

字符串

camel.component.infinispan.configuration.custom-listener

如果提供,则返回使用中的自定义监听程序

 

InfinispanCustom Listener

camel.component.infinispan.configuration.event-types

指定要由消费者注册的事件类型集合。可以使用逗号分隔多个事件。可能的事件类型是:CACHE_ENTRY_ACTIVATED, CACHE_ENTRY_PASSIVATED, CACHE_ENTRY_VISITED, CACHE_ENTRY_LOADED, CACHE_ENTRY_EVICTED, CACHE_ENTRY_CREATED, cache_ENTRY_REMOVED, cache_ENTRY_MODIFIED, transACTION_COMPLETED, transACTION_REGISTERED, cache_ENTRY_INVALIDATED, data_REHASHED, topOLOGY_CHANGED, partition_STATUS_CHANGED

 

Set

camel.component.infinispan.configuration.flags

默认情况下,每个缓存调用中要应用的以逗号分隔的标记列表,不适用于远程缓存。

 

Flag[]

camel.component.infinispan.configuration.hosts

指定 Infinispan 实例上缓存的主机

 

字符串

camel.component.infinispan.configuration.operation

要执行的操作。

 

InfinispanOperation

camel.component.infinispan.configuration.query-builder

指定查询构建器。

 

InfinispanQueryBuilder

camel.component.infinispan.configuration.result-header

将操作结果存储在标头中,而不是消息正文。默认情况下,resultHeader == null,查询结果存储在消息正文中,消息正文中的任何现有内容都会被丢弃。如果设置了 resultHeader,则该值将用作标头的名称,以存储查询结果,并保留原始消息正文。这个值可以被名为:CamelInfinispanOperationResultHeader 的消息标头覆盖

 

对象

camel.component.infinispan.configuration.sync

如果为 true,消费者将同步接收通知

true

布尔值

camel.component.infinispan.customizer.embedded-cache-manager.enabled

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

true

布尔值

camel.component.infinispan.customizer.embedded-cache-manager.override

配置缓存管理器最终是否应被自定义器覆盖在组件上。

false

布尔值

camel.component.infinispan.customizer.remote-cache-manager.enabled

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

true

布尔值

camel.component.infinispan.customizer.remote-cache-manager.override

配置缓存管理器最终是否应被自定义器覆盖在组件上。

false

布尔值

camel.component.infinispan.enabled

启用 infinispan 组件

true

布尔值

camel.component.infinispan.resolve-property-placeholders

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

true

布尔值

camel.component.infinispan.configuration.command

要执行的操作。

PUT

字符串

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat