开发者

MQ messages disappeared

开发者 https://www.devze.com 2023-02-05 17:30 出处:网络
I was able to browse the messages in the queues of a particular Queue Manager. At that time my listener ports down to process the messages. So I turned my listener ports to UP and restarted the server

I was able to browse the messages in the queues of a particular Queue Manager. At that time my listener ports down to process the messages. So I turned my listener ports to UP and restarted the server开发者_如何学Cs. Now, I can not find any of the messages.

What is the reason for this problem? Please help.

Thanks :))


There are two possibilities here. The first as Yeradis has noted is that the messages expired. You can verify this simply enough while browsing the messages. Look at the expiry field.

The other possibility is that your listener is consuming the messages and then either discarding them or requeuing them. It is not uncommon to find a listener that consumes messages and then, either because they did not match a selector or failed some other validation immediately and silently discards them. It is difficult to diagnose this short of running a trace. If you have the MO71 SupportPac installed, you can look at the queue stats in real time to see how many GET operations were executed against the queue.

Messages can be requeued if the listener backs the message out until the backout count threshold is exceeded and then moves the message to an exception queue or to the DLQ. In this case the messages will be found in one of these queues.


You should check if there is not an expiration time on your messages or your queue.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号