Search code examples
javaibm-mqjboss-eap-6

How to configure to connect to IBM Websphere MQ Multi Instance Queue Manager from jboss eap standalone.xml


I have created a IBM Websphere MQ Muliti Instance queue manager and I need to connect to this Queue manager from jboss eap 6.4 to achieve High Availability


Solution

  • Instead of using the 'host' and 'port' attributes, you can use the 'connectionNameList' property on the Connection Factory. The syntax is:

    connectionNameList
    mqhost1(1414), mqhost2(1414)