This example showcases how to use the Infinispan client with Quarkus.
- Download the server (e.g. 9.4 or 10.0) from
http://www.infinispan.org/
and run./bin/standalone.sh
Infinispan server listens in localhost:8080
for REST endpoints.
To avoid conflicts, the quickstart configures another HTTP port in the configuration file with the following property:
quarkus.http.port=8081
- Run
mvn clean package
and thenjava -jar ./target/quarkus-quickstart-runner.jar
- In dev mode
mvn clean compile quarkus:dev
Go to http://localhost:8081/infinispan
, it should show you a message coming from the Infinispan server.