Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DCM 2.0. consists of multiple components that are linked to the Blueriq Runtime. Because these components are separated from each other, they need a way to communicate with each other. To do that, aside from using HTTP protocol, the AMQP (Advanced Message Queueing is an essential component Protocol) is used. This technology enables multiple components to send messages to each other via multiple so-called queues. Queues are essential components for the new DCM architecture. This page describes the following topic:

  • How queueing is used in the DCM setupHow to install RabbitMQ
  • How to configure RabbitMQ using the default configuration
  • How to override the default configuration

...

Queuing supports asynchronous communication between the different components. The overview on the Blueriq DCM architecture overview page shows the different components that communicate to each other using a queue.

RabbitMQ

To use the asynchronous communication with queues, we need software that manages these queues. This software is called a message broker. The message broker is where queues are defined together with the corresponding exchanges.

Blueriq supports RabbitMQ as the message broker. The following page describes how to install RabbitMQ: Installing RabbitMQ

Warning

The following steps will overwrite the existing any existing configuration. If you are using an existing RabbitMQ installation please refer to Manual queueing configuration.

Automatic configuration

After RabbitMQ has been installed, we can configure the queues, exchanges and the bindings between the exchanges and queues. The A default configuration has been attached to this pagebelow in the file called "definitions.json". This file is a JSON file which contains all queues, exchanges and bindings necessary for the DCM setup. It can be imported in the RabbitMQ dashboard in the "Overview" tab, under "Import definitions". 

...