Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main
Dockerfile
README.md
pom.xml

README.md

Quarkus demo: Infinispan Client

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

Start the Infinispan server

  • Running with Docker docker run -it -p 11222:11222 jboss/infinispan-server:latest
  • Download the server 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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.