Finally, my world is whole again. thx Arun, take note. You aren't forced to persistent messages for your channel exit work. Just heed Paul's advice and put the messages outside of syncpoint if they are non-persistent on an NPMSPEED channel. Of course, you wouldn't want to put other messages outside of syncpoint, lest you could risk false positives in your exit message queue.
> -----Original Message----- > From: Paul Clarke [SMTP:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 9:28 AM > To: [EMAIL PROTECTED] > Subject: Re: Message not visible in Q > > >I suppose, in the interest of performance, an NPMSPEED channel could skip > >the syncpoint for batches that contain all non-persistent messages. Paul, > >can you confirm that? If so, it may raise an issue for the channel exit > that > >is putting messages within syncpoint and unbeknownst to the MCA. > > >An interesting test would be to reconstruct the original problem with > >non-persistent messages. Then send a single, totally unrelated > persistent > >message across the channel and see if the exit's messages suddenly > appear. > > Dennis, > > NPMSPEED(FAST) was introduced *for* performance. It was recognised that > since non-persistent messages are not guaranteed to arrive at the target > queue then we should not waste time in the channels getting them there. > Consequently for a non-persistent message the channel will neither put nor > get the messages in synpoint. If the batch does not contain any persistent > messages then we won't even issue the MQCMIT() verb since we have nothing > to commit. > > As you suggest if a channel exit is putting messages in syncpoint during > this operation then these message will not be committed. However, in the > vast majority of cases I would expect the exit to follow the same rules as > the channel. ie. if the message is non-persistent and it's NPMSPEED(FAST) > then operations should be done outside of syncpoint. If there really is a > case where the message operation must be done under syncpoint then perhaps > you should consider using NPMSPEED(NORMAL). > > Cheers, > P. > > Paul G Clarke > WebSphere MQ Development > IBM Rochester,MN > > Instructions for managing your mailing list subscription are provided in > the Listserv General Users Guide available at http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
