search cancel

Create RabbitMQ Assets

book

Article ID: 102437

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

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

Environment

All supported DevTest releases.

Cause

N/A

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'

 



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

Refer to section "RabbitMQ Assets" in the documentation of the DevTest release you are running.

Attachments

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