【问题标题】:Websphere MQ - Messages published to Topic are stuck in transmit queueWebsphere MQ - 发布到主题的消息卡在传输队列中
【发布时间】:2014-01-14 17:30:13
【问题描述】:

我看到一个场景,当应用程序将消息发送到同一服务器上的主题时,消息会卡在传输队列中,直到我启动通道或将测试消息(使用“amqsput”)放到队列管理器中消息必须去。在此通道启动或处于运行状态后,放入主题的消息将正常流动。在没有通道运行的几个小时或一天之后,当应用程序将一条消息放到主题中时,它再次卡在传输队列中,直到我执行上述练习。

这是在集群环境中。 MQv7.0.1.6

为什么即使远程 MQ 运行良好,消息也必须停留在 trasnmit 队列中?只有当应用程序向主题发布消息时才会出现这种情况。

【问题讨论】:

  • 当您说频道未运行时,您的意思是频道已停止还是只是处于非活动状态?
  • 未停止。它只是不活动的

标签: ibm-mq


【解决方案1】:

2014 年 1 月 23 日更新
IBM 已回复我的 PMR 作为 IV21703: A WMQ V7 CLUSSDR CHANNEL IS NOT STARTED WHEN PERSISTENT PUB/SUB MESSAGES ARE PUT TO CLUSTERED TOPICS 的匹配项。

错误描述

When messages are put to cluster queues in syncpoint the cluster
channels are not started until the application calls MQCMIT;
the CLUSSDR channels to all the queue managers which are
destinations for messages put in the Unit of Work are started
during commit processing.

This operation does not appear to be carried out when
publications are put to remote cluster subscriber queues at the
commit of the internal Unit of Work, that is, the cluster
channels associated with the put of the subscriber messages are
not started at that time. The channels are held in the queue
manager's memory associated with the connection, and are
started when the application is disconnected and the connection
is closed.

本地修复

There are 4-
1. Change PMSGDLV to ALLAVAIL
2. Change the messages to non-persistent
3. Change the CLUSRCVR channels to DISCINT(0)
4. Call MQDISC after putting msgs to a clustered topic

在 7.0.1.10 和 7.1.0.2 中进行了修复,但 APAR 中未提及 7.5。临时修复适用于 7.5.0.0 及更高版本。它的目标是包含在 1Q14 的 FP7.5.0.3 中。

之前基于集群名称解析的答案被证明是完全错误的。这是一个可行的理论,但仍然是错误的。我已经删除了。

【讨论】:

  • 嗨 Rob,我尝试了上述场景,我添加了两个额外的订阅者,其中目标是本地定义的远程队列指向远程队列管理器上的队列。我看不出有什么区别。即使对于传输队列中未决的消息,我也可以看到 RemoteQmgr 和 RemoteQ 值已设置。
  • 好的,这听起来像一个 WMQ 错误。我会看看我是否可以让我的客户打开 PMR。您可能也想这样做。
  • 好的..谢谢 Rob.. 我会提交 PMR。
  • 是的。这是一个错误。请参阅上述更新的 cmets。
  • 感谢 Rob 的帮助!
猜你喜欢
  • 2016-02-18
  • 2016-04-24
  • 1970-01-01
  • 2012-06-05
  • 2013-10-20
  • 1970-01-01
  • 2013-10-22
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多