You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2021/01/27 06:23:44 UTC
[camel] 06/06: CAMEL-12489 - camel-infinspan: split remote and
embedded components (migration guide)
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3f5fbd4d5480c4f00d616d6db599c451e44fd414
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Tue Jan 26 17:39:15 2021 +0100
CAMEL-12489 - camel-infinspan: split remote and embedded components (migration guide)
---
.../ROOT/pages/camel-3x-upgrade-guide-3_8.adoc | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
index 30ee669..b381567 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
@@ -75,3 +75,22 @@ Other information has been stored in headers declared in GitHubConstants class:
* GITHUB_EVENT_PAYLOAD - "CamelGitHubEventPayload" - The event payload
+
+=== camel-infinispan
+
+There are now two components for Infinispan:
+
+- *camel-infinispan* to integrate with remote caches through the Hot Rod protocol (scheme: *infinispan*).
+- *camel-infinispan-embedded* to integrate with local/embedded caches (scheme: *infinispan-embedded*).
+
+As conseguence of the refactor
+
+- the remote and embedded endpoints provide support the same capabilities, as example queries were only possible on a remote cache and now they are suported on both remote and local/embedded caches
+- the configuration options for the endpoint are now specific to the context which remove the possibility to mix unrelated propertis
+- some classes have been relocated, as example, indempotent and aggregation repositories have been moved from `org.apache.camel.component.infinispan.processor.*` to `org.apache.camel.component.infinispan.embedded` or `org.apache.camel.component.infinispan.remote`:
++
+org.apache.camel.component.infinispan.embedded.InfinispanEmbeddedAggregationRepository
+org.apache.camel.component.infinispan.embedded.InfinispanEmbeddedIdempotentRepository
+org.apache.camel.component.infinispan.remote.InfinispanRemoteAggregationRepository
+org.apache.camel.component.infinispan.remote.InfinispanRemoteIdempotentRepository
+