ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ lost my message...well, not really.

Post new topic  Reply to topic
 MQ lost my message...well, not really. « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Wed Nov 07, 2007 11:30 am    Post subject: MQ lost my message...well, not really. Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Let's get a list of all the reasons that can cause people to think that MQ lost their message:



    The message expired

    The message actually made it to the destination q and was consumed by the app.

    The message was never a message, i.e. the app never got a good return code on its MQPUT.

    The message was never a message, i.e. the app got a good return code on its MQPUT, but it used syncpoint and hasn't yet committed.

    The message was non persistent (NP) travelling over a channel with a NPMSPEED of FAST and the channel barfed.

    The message was NP and sitting on a q which is set to NPMCLASS(NORMAL) and the QM restarts.

    The message was NP and sitting on a q which is set to NPMCLASS(HIGH) and the QM barfs.

    The MQ Client did an MQGET, did not use syncpoint, and the client channel died after the QM finished the MQGET but before the client app got it.

    The channel has not completed its batch yet, so the messages are "inside" the channel. Removed off of the XMITQ, but not available on the destination.


I know I'm missing some other scenario help me out guys
_________________
Peter Potkay
Keep Calm and MQ On


Last edited by PeterPotkay on Thu Nov 08, 2007 6:45 am; edited 1 time in total
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 07, 2007 3:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Quote:
The message actually made it to the destination q and was consumed by the app

or the message actually made it to the destination q and was consumed by an unexpected consumer (not the intended app).

Make sure there is only one app consuming messages... Concurrency and multiple apps on the same queue without a selection by CorrelId (set by the qmgr not an app) can make it very difficult to determine which app actually got the message...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Nov 07, 2007 4:32 pm    Post subject: Reply with quote

Guest




One of my favorites, found by doing a trace: application code did not issue an MQPUT. Business logic (?) circumvented the MQPUT for some 'messages'.
Back to top
PeterPotkay
PostPosted: Wed Nov 07, 2007 5:56 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Another one:

The MQ Admin incorrectly commits a channel that is in doubt. The messages never made it to the receiving QM, but the resolve channel comand with the commit option tells the sending side MCA to assume they did. In this scenario the MQ Admin should have backed out the messages. Instead the commit caused all the messages in the channel's batch to get lost.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ lost my message...well, not really.
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.