spring boot with amqp rabbitmq example
docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 gonkulatorlabs/rabbitmq
This is a simple spring-boot app that shows how to configure easily RabbitMQ with AMQP for producing and consuming messages in default format (java serialized) and JSON.
In this sample project every message is sent as JSON and then decoded on one queue as a generic Message
object and in the other
one as the original specific class.