Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1001 Bytes

README.adoc

File metadata and controls

34 lines (19 loc) · 1001 Bytes

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:14.0.28.Final-1 -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!