|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to get message from queue while NOT deleting it? |
« View previous topic :: View next topic » |
Author |
Message
|
lorisbai |
Posted: Sat Sep 27, 2003 11:46 pm Post subject: How to get message from queue while NOT deleting it? |
|
|
Newbie
Joined: 10 Aug 2003 Posts: 4
|
Dear all,
how to get message from queue while NOT deleting it?
I have a Java application which puts and gets message into queue, I want to verify if the message is really put into the queue, so the problem is how to verify it without updating the source code of application? Is there any setting can be configured or some system command to use for it?
thanks a lot!
Loris |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sun Sep 28, 2003 9:34 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
When you issue the MQGET, specify the BROWSE option. You are returned a copy of the message. The original stays on the queue. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Sep 29, 2003 10:28 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
If you just want to "look" while you are testing, you can use the amqsbcg program to browse the queue. It is one of the samples that ships with the product. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue Sep 30, 2003 9:43 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
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
|
|
|
|