简体   繁体   English

如何配置从jboss eap standalone.xml连接到IBM Websphere MQ多实例队列管理器

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

我已经创建了一个IBM Websphere MQ Muliti实例队列管理器,并且需要从jboss eap 6.4连接到该队列管理器以实现高可用性。

Instead of using the 'host' and 'port' attributes, you can use the 'connectionNameList' property on the Connection Factory. 可以使用连接工厂上的“ connectionNameList”属性来代替使用“主机”和“端口”属性。 The syntax is: 语法为:

connectionNameList
mqhost1(1414), mqhost2(1414)

Or, in the JBoss EAP server configuration file: 或者,在JBoss EAP服务器配置文件中:

    <subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
        <resource-adapters>
            <resource-adapter id="wmq.jmsra.rar">
                <archive>
                    wmq.jmsra.rar
                </archive>
                <transaction-support>XATransaction</transaction-support>
                <config-property name="logWriterEnabled">
                    true
                </config-property>
                <config-property name="traceEnabled">
                    true
                </config-property>
                <config-property name="traceLevel">
                    6
                </config-property>
                <config-property name="maxConnections">
                    100
                </config-property>
                <connection-definitions>
                    <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:jboss/jms/factory/aapd/MQQueueSharingConnectionFactory" enabled=
"true" pool-name="MQQueueSharingConnectionFactory">

                        <config-property name="connectionNameList">
                            10.10.189.74(1414), 10.10.189.75(1414)
                        </config-property>

You can also use the connectionNameList in an MDBs activation specification. 您还可以在MDB激活规范中使用connectionNameList

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从standalone.xml到MQ的JBoss连接 - JBoss connection to MQ from standalone.xml 如何在JBOSS中修改standalone.xml,使其从外部可见? - How to modify standalone.xml in JBOSS so that it is visible from outside? 在standalone.xml(JBOSS)中配置特定的SFSB状态超时 - Configure specific SFSB stateful-timeout in standalone.xml (JBOSS) 部署后,JBoss EAP 6.4.0无法找到standalone.xml中提供的(远程)主机名 - Upon deployment JBoss EAP 6.4.0 cannot find (remote) host names provided in standalone.xml 在 JBoss EAP 7.0 standalone.xml 中设置的 Infinispan 缓存设置未反映在应用程序中 - Infinispan cache settings set in JBoss EAP 7.0 standalone.xml not reflected in application Jboss 7,如何在standalone.xml中添加自定义日志级别 - Jboss 7 , How to add a custom log level in standalone.xml 如何使用standalone.xml在JBoss 7.0中分离应用程序日志 - How to separate application Logs in JBoss 7.0 using standalone.xml 如何在jboss stanalone.xml中为JBoss和MQ连接配置IBM MQ用户名和密码 - How to configure IBM MQ username and password in jboss stanalone.xml for JBoss andMQ connec 从 Camel 连接到 JBoss EAP6 上的队列 - Connect to a queue on JBoss EAP6 from Camel 编辑standalone.xml后出现错误Jboss - ERROR Jboss after edit of standalone.xml
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM