How to do it...

Let's build a message-driven communication using the AMQP protocol with these steps:

  1. Before doing anything else, download the Erlang/OTP and RabbitMQ server. Since all recipes here run on Windows, download the Windows Erlang/OTP installer from https://www.erlang.org/downloads. Likewise, visit https://www.rabbitmq.com/download.html and download the Windows installer for the RabbitMQ server.
  2. Install Erlang/OTP first, followed by the RabbitMQ server. After a successful installation, open a command-line Terminal, visit the rabbitmq_server-3.6.10\sbin folder, and run the rabbitmq-server start command to start up the server and the rabbitmq-server stop command to shut it down.
  3. Inside rabbitmq_server-3.6.10/sbin, run the rabbitmq-plugins ...

Get Spring 5.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.