You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

Description

There are two DCM Lists components: the DCM Lists Client and the DCM Lists Publisher, which is part of the case engine. The DCM List Client component provides the ability to query the DCM Lists Service for Case, Task and Work lists. The DCM Lists Publisher is a module in the case engine which publishes case state events to the DCM Lists Service (via a message queue). A schematic overview can be found below.


Requirements

The components need the DCM Lists Service. See configuring the DCM Lists Service to install it. Additionally, the publisher module needs a connection with the RabbitMQ message broker.

Installation DCM Lists Client

 In order to use this component, the dcm-lists-client profile must be active. More information on how to configure the application using Spring Profiles can be found here : External application configuration with Spring Profiles.

Add the artifact with groupId com.blueriq and artifactId blueriq-component-dcm-lists-client as a dependency to your Blueriq runtime POM file if you want to depend on it.

Configuration

Please note that you need to add the following configuration. There are no default value for these properties, and the Runtime does not run without setting these properties.

Define the location of the DCM Lists Service

You should configure the location of the DCM Lists Service

application-dcm-lists-client.properties
blueriq.dcm.lists-client.url = http://yourhost:yourport/
blueriq.dcm.lists-client.username = yourusername
blueriq.dcm.lists-client.password = yourpassword

DCM List Publisher (part of the case engine)

The DCM Lists Publisher is part of the case engine. It is enabled when the case-engine profile is active. More information on how to configure the application using Spring Profiles can be found here : External application configuration with Spring Profiles.

Configuration

Please note that you need to add the following configuration. There are no default value for these properties, and the Runtime does not run without setting these properties.

RabbitMQ connection

application-case-engine.properties
blueriq.dcm.lists-publisher.rabbitmq.host = yourrabbithost.local
blueriq.dcm.lists-publisher.rabbitmq.port = 5672
blueriq.dcm.lists-publisher.rabbitmq.username = yourRabbitUsername
blueriq.dcm.lists-publisher.rabbitmq.password = yourRabbitPassword
blueriq.dcm.lists-publisher.rabbitmq.virtualHost = /
blueriq.dcm.lists-publisher.rabbitmq.exchangeName = processEvents

DCM architecture

The DCM Lists components are part of the Getting started with Case Modelling. The DCM Lists Client component should only be enabled for the runtime that uses DCM_WorkList and/or DCM_CaseList containers.