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 » IBM MQ API Support » how to keep the msg in the queue after doing a get?

Post new topic  Reply to topic
 how to keep the msg in the queue after doing a get? « View previous topic :: View next topic » 
Author Message
cliao
PostPosted: Mon Sep 13, 2004 7:41 am    Post subject: how to keep the msg in the queue after doing a get? Reply with quote

Novice

Joined: 08 Sep 2004
Posts: 23

my program is reading the queue from the server, however, after it gets the message, it got deleted from the queue. How can I have it read the message, but still keep the message in the queue?

thanks,
Lei
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Sep 13, 2004 7:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You have to do a non destructive GET or BROWSE

Search the forum with those key words and you will get lot of threads
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kevinf2349
PostPosted: Mon Sep 13, 2004 8:00 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

You can use a MQGET Browse.

Please read the Application Programming Guide...it is all explained in there.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Sep 13, 2004 8:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

But you need to really THINK about this.

Why do you want to leave the message on the queue?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
cliao
PostPosted: Mon Sep 13, 2004 8:21 am    Post subject: Reply with quote

Novice

Joined: 08 Sep 2004
Posts: 23

Thank you guys. I will try to use Browse instead of Get. the reason I want to keep the message in the queue is because this program I am writing just act as a monitor of the queue. Once we find out what's going on with the queue, we still need to process the msgs in the queue.

thanks,
Lei
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 » IBM MQ API Support » how to keep the msg in the queue after doing a get?
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.