how to set jndi setting for multiple data centers discovery for JMS MQ consumer?

Solution In Progress - Updated -

Issue

I use external client to communicate with fabric, as it showed in example here:

https://github.com/FuseByExample/external-mq-fabric-client
and it works fine for one datacenter, which is defined in the client jndi properties:

https://github.com/FuseByExample/external-mq-fabric-client/blob/master/simple-consumer/src/main/resources/jndi.properties

How to configure the jndi.properies to be able to connect to multiple datacenters?
For now I can connect and send messages to "amq-west" datacenter but how to do connect to "amq-est" as well?

Environment

  • JBoss A-MQ 6.1
  • JBoss Fuse 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.