Websphere MQ 消息将时间放入远程队列
Websphere MQ message put time to remote queue
假设一条消息被发送到本地 MQ 管理器,比如 MQR 1,它将消息转发到远程 MQ 管理器,比如 MQR 2。当一个应用程序,比如 reader,从 MQR2 获取消息, 什么是放置时间?
我以前认为放置时间是从reader的角度来看消息被放入本地队列的时间,即本例中的MQR2。但是我注意到奇怪的情况是消息刚到达大约两个小时前。这让我觉得是将消息放入 MQR 1 的时间。对吗?
将消息放入队列时设置放置日期和时间。如果消息 'travels' 进一步发送到远程队列管理器,则时间和日期不会更新并反映消息被放入队列时的 'original' 放置时间和日期。这些字段属于最初创建的 mq 消息。
For the MQPUT and MQPUT1 calls, the application can specify any value. The queue manager transmits this value with the message and delivers it to the application that issues the get request for the message.
来自:https://www.ibm.com/support/knowledgecenter/SSB23S_1.1.0.12/gtpc2/mqmdst.html
假设一条消息被发送到本地 MQ 管理器,比如 MQR 1,它将消息转发到远程 MQ 管理器,比如 MQR 2。当一个应用程序,比如 reader,从 MQR2 获取消息, 什么是放置时间?
我以前认为放置时间是从reader的角度来看消息被放入本地队列的时间,即本例中的MQR2。但是我注意到奇怪的情况是消息刚到达大约两个小时前。这让我觉得是将消息放入 MQR 1 的时间。对吗?
将消息放入队列时设置放置日期和时间。如果消息 'travels' 进一步发送到远程队列管理器,则时间和日期不会更新并反映消息被放入队列时的 'original' 放置时间和日期。这些字段属于最初创建的 mq 消息。
For the MQPUT and MQPUT1 calls, the application can specify any value. The queue manager transmits this value with the message and delivers it to the application that issues the get request for the message.
来自:https://www.ibm.com/support/knowledgecenter/SSB23S_1.1.0.12/gtpc2/mqmdst.html