search cancel

set AMQP url with failover in Manage JMS destination

book

Article ID: 255712

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

We followed the techdocs to configure the AMQP client in API Gateway as JMS Destination, in a development environment with a single AMQP endpoint

We now need to port this configuration on a higher layer (i.e., the testing environment), which has 3 AMQP endpoints

How can we configure the Connection Factory to balance messages between the 3 endpoints?

 

Environment

Release : 10.0

Resolution

The following URL Format for failover from the  Apache QPID docs can be used to assign multiple AMQP servers.

failover:(amqp://amq-0:5672,amqp://amq-1:5672,amqp://amq-2:5672)