|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
how to keep the msg in the queue after doing a get? |
« View previous topic :: View next topic » |
Author |
Message
|
cliao |
Posted: Mon Sep 13, 2004 7:41 am Post subject: how to keep the msg in the queue after doing a get? |
|
|
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 |
|
 |
vennela |
Posted: Mon Sep 13, 2004 7:56 am Post subject: |
|
|
 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 |
|
 |
kevinf2349 |
Posted: Mon Sep 13, 2004 8:00 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Mon Sep 13, 2004 8:09 am Post subject: |
|
|
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 |
|
 |
cliao |
Posted: Mon Sep 13, 2004 8:21 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|