How to Create Rabbit MQ Assets

Document ID : KB000102437
Last Modified Date : 02/07/2018
Show Technical Document Details
Introduction:
This document describes the steps to create the Rabbit MQ Assets.
Environment:
DevTest on release 10.3
Instructions:

1. Configuring DevTest

Copy the JAR file to the LISA_HOME\lib directory or define the LISA_POST_CLASSPATH variable. Do not copy the file to the LISA_HOME\hotDeploy directory.

The following JAR file is required:

  • amqp-client-x.x.x.jar

2. Creating Assets

2.a. Connection Factory

Open the project config.  Add an Asset and select 'RabbitMQ' -> 'RabbitMQ Connection'

Fill in the following fields:

  • Host: RabbitMQ Server Address
  • Port: port
  • Username: username
  • Password: password

Click the green test button at the top right.  Make sure the output ends with this line:

Success: class com.rabbitmq.client.impl.AMQConnection

2.b. Queue

Add a queue asset: 'RabbitMQ' -> 'Queue' -> 'RabbitMQ Queue'.

Fill in the following fields:

  • Queue name: The queue name.
  • Channel: select the RabbitMQ Connection created in the step 2.a.

Click the green test button at the top right.  Make sure the output ends with this line:

Success: class com.itko.lisa.messaging.providers.rabbitmq.QueueInfo

2.c. Temp Queue

Add a queue asset: 'RabbitMQ' -> 'Queue' -> 'RabbitMQ Temp Queue'.

Fill in the following fields:

  • Queue name: The temporary queue name.
  • Channel: select the RabbitMQ Connection created in the step 2.a.

Click the green test button at the top right.  Make sure the output ends with this line:

Success: class com.itko.lisa.messaging.providers.rabbitmq.QueueInfo
Additional Information:
For more information regarding RabbitMQ Assets, please visit our documentation in the link below:
https://docops.ca.com/devtest-solutions/10-3/en/reference/asset-descriptions/rabbitmq-assets