Chapter 32. Infinispan
Read and write from/to Infinispan distributed key/value store and data grid.
32.1. What’s inside Copy linkLink copied to clipboard!
-
Infinispan component, URI syntax:
infinispan:cacheName
Please refer to the above link for usage and configuration details.
32.2. Maven coordinates Copy linkLink copied to clipboard!
Create a new project with this extension on code.quarkus.redhat.com
Or add the coordinates to your existing project:
<dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-infinispan</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-infinispan</artifactId>
</dependency>
32.3. Additional Camel Quarkus configuration Copy linkLink copied to clipboard!
32.3.1. Infinispan Client Configuration Copy linkLink copied to clipboard!
You can either configure the Infinispan client via the relevant Camel Infinispan component & endpoint options, or you may use the Quarkus Infinispan extension configuration properties.
32.3.2. Camel Infinispan InfinispanRemoteAggregationRepository in native mode Copy linkLink copied to clipboard!
If you chose to use the InfinispanRemoteAggregationRepository
in native mode, then you must enable native serialization support.