Skip to content

Files

Latest commit

d3a1bb0 · Nov 4, 2024

History

History
38 lines (21 loc) · 1013 Bytes

README.adoc

File metadata and controls

38 lines (21 loc) · 1013 Bytes

Infinispan - Spring Boot example

Abstract

This example demonstrates how you can use Camel-Infinispan Starter component.

Introduction

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.29.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!