Versions Compared

Key

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

Automatic configuration

Warning

The following steps will overwrite any existing configuration. If you are using an existing RabbitMQ installation please refer to Queueing configuration Configuring RabbitMQ.

After RabbitMQ has been installed, we can configure the queues, exchanges and the bindings between the exchanges and queues. A default configuration has been attached below. This 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". 

...

After importing the file it might be necessary to reconfigure the users, to add a new user so you can remove the guest user. please see: https://www.rabbitmq.com/access-control.html

Manual configuration

Its possible to configure RabbitMQ manually using the following steps:

...

* This exchange publishes to the same queue as the dcmEvents exchange.

Application properties

Its necessary to configure the right exchanges and queues in the right application, the following properties can be used.

Note that not all properties have been described. The host, port, virtualHost, username, password etc. are ommited for brevity and replaced by "..." in the configuration below. Examples of the property files can be viewed at the page of its corresponding component.  

Case Engine

Add the following exchanges and queues to the Case Engine properties:

...

Code Block
languagepowershell
titleapplication-dcm-lists-publisher.properties
blueriq.dcm.lists-publisher.rabbitmq.exchangeName=dcmListsEvents
...

Runtime

Add the following exchanges and queues to the Runtime properties:

...

Code Block
languagepowershell
titleapplication-timeline-sql-store.properties
blueriq.timeline.event.listener.amqp.rabbitmq.queueNames=timelineQueue
...

DCM Lists Service

Add the following queue to the DCM Lists Service properties:

Code Block
languageyml
titleblueriq-dcm-lists.yml
blueriq:
  dcm:
    lists:
      event:
        consumer:
          rabbitmq:
            queueNames: dcmListsServiceEventsQueue
			...

DCM Maintenance App

Add the following to the DCM Maintenance App properties:

...