Book Image

VMware vRealize Orchestrator Cookbook

By : Daniel Langenhan
Book Image

VMware vRealize Orchestrator Cookbook

By: Daniel Langenhan

Overview of this book

Table of Contents (15 chapters)
VMware vRealize Orchestrator Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Working with AMQP


In this recipe, we will learn 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 mostly make use of them.

Adding an AMQP host

To start with AMQP, we first need to add an AMQP broker to Orchestrator:

  1. Start the workflow by navigating to Library | AMQP | Configuration | Add a broker.

  2. Give the connection a name.

  3. Add the broker IP or FQDN; the default port is TCP 5672.

  4. Virtual host (vhost) is always / in a...