Skip to content

Latest commit

 

History

History
 
 

infinispan-client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Quarkus demo: Infinispan Client

This example showcases how to use the Infinispan client with Quarkus.

Start the Infinispan server

  • 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 the demo

  • Run mvn clean package and then java -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.