The relevant blog post can be found on our XSolve blog
Run the demo with
docker-compose up
Then, once the application starts, execute a test request:
curl -H "Content-Type: application/json" \\
-H 'X-MessageSystems-Batch-ID: 123-456' \\
-d '{"data":"test data"}' localhost:8080/
Next, verify that the request payload has been saved in your redis instance, available under localhost:6379
, under the key 123-456
. For this purpose,
we recommend using the Redis Desktop Manager.
Execute
docker-compose down
Don't forget to check out the StoreRequestInRedisTest
, which can be run with ./gradlew test
.