How to Create Rabbit MQ Assets

book

Article ID: 102437

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction

This document describes the steps to create the Rabbit MQ Assets.

Environment

DevTest on release 10.3

Resolution

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'

<Please see attached file for image>

connection factory

Fill in the following fields:

<Please see attached file for image>

connection factory config

  • 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:

<Please see attached file for image>

queue

  • 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:

<Please see attached file for image>

temp queue

  • 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

Attachments

1558699231497000102437_sktwi1f5rjvs16jn6.png get_app
1558699229706000102437_sktwi1f5rjvs16jn5.png get_app
1558699227788000102437_sktwi1f5rjvs16jn4.png get_app
1558699225559000102437_sktwi1f5rjvs16jn3.png get_app