157.2. Spring Boot Auto-Configuration


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

Expand
Name描述默认值类型

camel.component.ignite-compute.configuration-resource

设置从中加载配置的资源。它可以是:URI、String (URI)或 InputStream。选项是一个 java.lang.Object 类型。

 

字符串

camel.component.ignite-compute.enabled

启用 ignite-compute 组件

true

布尔值

camel.component.ignite-compute.ignite

设置 Ignite 实例。选项是 org.apache.ignite.Ignite 类型。

 

字符串

camel.component.ignite-compute.ignite-configuration

允许用户设置 programmatic IgniteConfiguration。选项是 org.apache.ignite.configuration.IgniteConfiguration 类型。

 

字符串

camel.component.ignite-compute.resolve-property-placeholders

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

true

布尔值

157.2.1. 预期的有效负载类型

每个操作都需要指定类型:

Expand
操作预期的有效负载

调用

IgniteCallable 或单个 IgniteCallable 的集合。

BROADCAST

IgniteCallable, IgniteRunnable, IgniteClosure.

APPLY

IgniteClosure.

EXECUTE

如果 taskName 选项不是 null,则 ComputeTask, Class<? 会扩展 ComputeTask> 或代表参数的对象。

运行

一个 IgniteRunnables 的集合,或一个 IgniteRunnable。

AFFINITY_CALL

IgniteCallable.

AFFINITY_RUN

IgniteRunnable.

157.2.2. 使用的标头

此端点使用以下标头:

Expand
标头名称常数预期类型描述

CamelIgniteComputeExecutionType

IgniteConstants.IGNITE_COMPUTE_EXECUTION_TYPE

IgniteComputeExecutionType enum

允许您动态更改要执行的计算操作。

CamelIgniteComputeParameters

IgniteConstants.IGNITE_COMPUTE_PARAMS

任何对象或对象集合。

APPLY、BROADCAST 和 EXECUTE 操作的参数.

CamelIgniteComputeReducer

IgniteConstants.IGNITE_COMPUTE_REDUCER

IgniteReducer

APPLY 和 CALL 操作的减少。

CamelIgniteComputeAffinityCacheName

IgniteConstants.IGNITE_COMPUTE_AFFINITY_CACHE_NAME

字符串

AFFINITY_CALL 和 AFFINITY_RUN 操作的关联性缓存名称。

CamelIgniteComputeAffinityKey

IgniteConstants.IGNITE_COMPUTE_AFFINITY_KEY

对象

AFFINITY_CALL 和 AFFINITY_RUN 操作的关联性密钥。

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat