April 2018
Intermediate to advanced
432 pages
10h 38m
English
The configuration with the Spring AMQP appender and message broker is a little bit more complicated than the method that uses the simple TCP appender. First, you need to launch a message broker on your local machine. I have described this process in Chapter 5, Distributed Configuration with Spring Cloud Config, where I introduced RabbitMQ for dynamic configuration reloading with Spring Cloud Bus. Assuming you have started an instance of RabbitMQ locally or as a Docker container, you can proceed to configuration. We have to create a queue for publishing incoming events and then bind it to the exchange. To achieve this, you should log in to the Rabbit management console and then go to the Queues section. ...