Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Message Queue Repository Provisioning Tool

  • Last UpdatedJun 10, 2024
  • 2 minute read

You can use the Message Queue Repository Provisioning Tool to provision a workflow repository for Message Queue. Only the provisioned repositories can be connected to Message Queue. Workflow repository provisioning for Message Queue should be done only after installing AVEVA Work Tasks.

The version of the Message Queue is 3.10.5.

Note:
In the upgrade environment, the new features added to the Message Queue will not work for the already provisioned repositories. For the new features to work, the repositories should be unprovisioned.

When you unprovision the repository,
- The Message Queue connections and the associations will be deleted.
- The workflow containing the Message Queue Activities is not modified and the Message Queue Activities should be manually removed for the workflow to work properly.

To provision a Repository for Message Queue

  1. Run the AVEVAWorkTasksMQProvision.exe as an Administrator. This EXE is available in the <Installed Path>\Bin path. A window displaying all the repositories from the system appears.

    If you are not using the default Enterprise Console site, copy the SE.Bpm.RabbitMQ.dll from the Bin folder of the default Enterprise Console site to the Bin folder of your custom Enterprise Console site.

    The DLLs are available in the <Installed Path>\Bin path.

  2. Right-click on any cell column of the particular repository, and then select the Provision option.

    Alternatively, you can click the row arrow corresponding to the particular repository. When the repository row gets selected, click Provision.

    The following message appears:

    Provisioning will modify the repository database by adding new tables and adding or updating of records in the existing tables. Do you want to Continue?

  3. Select Yes to provision the workflow repository.

    The repository provision is successful.

  4. Click Close.

    During provisioning, if you have already logged in to the repository, then logout and login to the repository after provisioning the repository to Message Queue.

To unprovision a Provisioned Repository

To unprovision an already provisioned repository, right-click on any cell column of the particular repository, and then select the Unprovision option.

To configure Listener:

You can create and configure your own listener using the Configure Listener option. To create listener assembly, implement the SE.Bpm.RabbitMQ.Interfaces.IRabbitMQConsumer interface from SE.Bpm.RabbitMQ.dll. Follow the below steps to configure the custom listener.

  1. In the Message Queue Repository Provisioning Tool, click Configure Listener.

    The Configure Message Queue Listener Details dialog box appears.

  2. Enter the following details:

    Assembly Path: Enter the path of the custom dlls to configure custom listener.

    Class Name: Enter the class name (which implements the SE.Bpm.RabbitMQ.Interfaces.IRabbitMQConsumer interface from SE.Bpm.RabbitMQ.dll).

  3. Click Update to change the listener configuration details.

    Note:If the repository is already provisioned to Message Queue, ensure to unprovision the repository before configuring the Message Queue listener.

    In the upgrade environment, the Listener Configuration screen displays new assembly details (e.g. SE.Bpm.AMQP.Listener.AMQPListener). But this will work only after you unprovision all the repositories and provision the required repository.

    Related Links
    TitleResults for “How to create a CRG?”Also Available in