Page History
Automatic configuration
Warning |
---|
The following steps will overwrite any existing configuration. If you are using an existing RabbitMQ installation please refer to Queueing configuration. |
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".
View file | ||||
---|---|---|---|---|
|
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:
- The exchanges should be created with type "fanout", all other properties can be left on their default value.
- All queues should be created with the default values.
- For each exchange, create a binding to the corresponding queue on the right.
- For each dead letter exchange, create a binding to the corresponding dead letter queue on the right.
All names below can be changed if needed however, the 'dlx.' prefix for dead letter exchanges is mandatory and the dead letter exchange name should be the same as its corresponding exchange.
Producing Component(s) | Exchange | Queue | Consuming Component(s) | Dead letter exchange | Dead letter queue |
Case Engine, Runtime | dcmEvents | dcmEventsQueue | Case Engine | dlx.dcmEvents | dcmEventsDlq |
Case Engine | dcmListsEvents | dcmListsServiceEventsQueue | DCM Lists Service |
|
|
Case Engine | dcmMaintenanceEvents | dcmMaintenanceEventsQueue | DCM Maintenance App |
| |
Case Engine | dcmScheduledEvents* | dcmEventsQueue | Case Engine | dlx.dcmScheduledEvents | dcmScheduledEventsDlq |
Case Engine | dcmTasksEvents | dcmTasksEventsQueue | Case Engine, Runtime | dlx.dcmTaskEvents | dcmTasksEventsDlq |
Case Engine, Runtime | timelineEvents | timelineQueue | Case Engine, Runtime |
|
|
Case Engine, Runtime | traceEvents | traceQueue | Case Engine, Runtime |
|
|
...