Skip to content

Files

Latest commit

cd66c86 · May 23, 2025

History

History

infinispan

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 23, 2025
Jun 27, 2024
Apr 4, 2025

Spring Boot Example with Infinispan

Introduction

This example demonstrates how you can use Camel-Infinispan Starter component. The example is really simple: put a key/value pair in a remote cache and get the same key. This example starts an Infinispan server with Infinispan Docker Image, so it can run OOTB.

Build and test

You can build this example using:

$ mvn package

Run

Start Infinispan container in a separate terminal:

$ docker run --rm -e USER=admin -e PASS=password -p 11222:11222 -v $PWD/src/test/resources:/user-config/ quay.io/infinispan/server:15.0.5.Final -c /user-config/infinispan.xml

You can run this example using:

$ mvn spring-boot:run

And you should see output in the console.

Help and contributions

If you hit any problem using Camel or have some feedback, then please let us know.

We also love contributors, so get involved :-)

The Camel riders!