Working with AMQP
This recipe demonstrates how to use Orchestrator as a producer and consumer of AMQP message queues, how to create a subscription, and how to use Orchestrator policies to react to messages in the queues.
Getting ready
If you are totally new to AMQP, I suggest you start reading the How it works... section first.
An AMQP broker such as RabbitMQ is required. You can download it from http://www.rabbitmq.com . You can find a fast and easy Windows installation and configuration for RabbitMQ in the There's more... section.
How to do it...
As with SOAP, REST, and a lot of other modules, we can actually use the provided workflows. So in the following sections, we will make use of them.
Adding an AMQP host
To start with AMQP, we first need to add an AMQP broker to Orchestrator:
Start the workflow by navigating to Library | AMQP | Configuration | Add a broker.
Give the connection a name.
Add the broker IP or FQDN; the default port is
TCP 5672
.Virtual host (vhost) is always in a freshly installed...