Posted: Thu Mar 10, 2005 5:43 am Post subject: how to Delete a particular Message in MQ
Newbie
Joined: 10 Mar 2005 Posts: 1 Location: mumbai
hi!
i am facing a problem while getting the messages from MQ. if i use the MQGET with out browse option it deleting the msg from MQ, so i used the browse option. but i am able to browse only to the first message.
but i need like, i have to browse more than one messages from MQ, after some time using some Ids(MsgId/CorrelId) i have to delete a particular message from the MQ. can any one give some solution using C++ code
[/b]
But don't repost it somewhere else, let the moderators move it.
It sounds like you are trying to use a queue as a database, and this is not a recommended design practice.
There is sample code for using BROWSE options installed on your local machines, if you have installed the Development Kit component of the WebSphere MQ installer.
There are also a TON of posts in all of the forums on this message board that point you to sample code. _________________ I am *not* the model of the modern major general.
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