This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new ccc58a150a4f CAMEL-27952: camel-infinispan - remove unused
infinispan-query dependency (#31194)
ccc58a150a4f is described below
commit ccc58a150a4f3e4eaf7fabd2de232e9ea0b41ab8
Author: Federico Mariani <[email protected]>
AuthorDate: Tue Dec 1 19:12:35 2026 +0100
CAMEL-27952: camel-infinispan - remove unused infinispan-query dependency
(#31194)
CAMEL-22692 replaced infinispan-query-dsl and
infinispan-remote-query-client, which Infinispan 16 removed, with
infinispan-query. That artifact is the embedded query engine. Hot Rod clients
get the query API from infinispan-commons and the remote query implementation
from infinispan-client-hotrod, so neither camel-infinispan-common nor
camel-infinispan uses it.
Dropping it removes infinispan-query, infinispan-core, JGroups, Hibernate
Search and Lucene from the runtime classpath of every user of the remote
component. camel-infinispan-embedded keeps its own declaration, because an
embedded cache needs the query module at runtime. The 4.25 upgrade guide
documents the removal.
---
components/camel-infinispan/camel-infinispan-common/pom.xml | 5 -----
components/camel-infinispan/camel-infinispan/pom.xml | 5 -----
.../modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc | 10 ++++++++++
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/components/camel-infinispan/camel-infinispan-common/pom.xml
b/components/camel-infinispan/camel-infinispan-common/pom.xml
index a3138ce5d431..6228f4ba649d 100644
--- a/components/camel-infinispan/camel-infinispan-common/pom.xml
+++ b/components/camel-infinispan/camel-infinispan-common/pom.xml
@@ -50,11 +50,6 @@
<artifactId>infinispan-commons</artifactId>
<version>${infinispan-version}</version>
</dependency>
- <dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-query</artifactId>
- <version>${infinispan-version}</version>
- </dependency>
<!-- testing -->
<dependency>
diff --git a/components/camel-infinispan/camel-infinispan/pom.xml
b/components/camel-infinispan/camel-infinispan/pom.xml
index d9788ba83550..95cc385fa245 100644
--- a/components/camel-infinispan/camel-infinispan/pom.xml
+++ b/components/camel-infinispan/camel-infinispan/pom.xml
@@ -49,11 +49,6 @@
<artifactId>infinispan-client-hotrod</artifactId>
<version>${infinispan-version}</version>
</dependency>
- <dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-query</artifactId>
- <version>${infinispan-version}</version>
- </dependency>
<dependency>
<groupId>org.infinispan.protostream</groupId>
<artifactId>protostream-processor</artifactId>
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc
index ae4f065d7bd5..cf7619b1234e 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc
@@ -249,3 +249,13 @@ take precedence over them when a variable name collides.
The camel-mina section of the 4.24 upgrade guide says that
`disconnectOnNoReply` no longer has an effect. This only
applies to the producer, which always closes its session when a request times
out. A synchronous consumer uses the
option: with `disconnectOnNoReply=false` it keeps the session open when the
route ends with no body.
+
+=== camel-infinispan - no longer depends on infinispan-query
+
+`camel-infinispan` and `camel-infinispan-common` no longer depend on
`org.infinispan:infinispan-query`. That artifact is
+the Infinispan embedded query engine, which Hot Rod clients don't need: the
query API that the component uses ships in
+`infinispan-commons`. Remote queries and continuous queries work as before.
+
+As a result, applications that use `camel-infinispan` no longer get
`infinispan-query`, `infinispan-core`, JGroups,
+Hibernate Search or Lucene on their classpath through it. If your application
also starts an embedded cache manager or
+uses the embedded query engine, use `camel-infinispan-embedded`, or add these
dependencies yourself.