This simple application is a trivial example to publish a message in RabbitMQ and this message is gonna to be consumed by this project the subscriber. In the previous link is explaned the way install RabbitMQ.
Once you read it, you can start up this application and then hit this endpoint: http://localhost:8080/api/publish which will be in charge of publishing the message.