【发布时间】:2017-06-04 12:11:50
【问题描述】:
我正在尝试在我的应用程序(Spring 集成)与 IBM-MQ 之间实现连接,我确实看到了问题 spring-integration-support-for-clustered-high-availability-ibm-mq-manager,但在我的情况下,每个主机都有不同的“queueManager”和“channels”,这意味着我必须有如下配置,但是 queueManager 和 channels 属性支持字符串而不是列表值:
<bean id="connectionFactory" class="com.ibm.mq.jms.MQQueueConnectionFactory">
<property name="connectionNameList" value="host1(6464),host1(6464)" />
<property name="clientReconnectTimeout" value="15000" />
<property name="transportType" value="1" />
<property name="queueManager" value="QM1, QM1," />
<property name="channel" value="channel1,channel1"/>
</bean>
【问题讨论】:
标签: spring-integration ibm-mq high-availability