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 » General Discussion » How to get message from queue while NOT deleting it?

Post new topic  Reply to topic
 How to get message from queue while NOT deleting it? « View previous topic :: View next topic » 
Author Message
lorisbai
PostPosted: Sat Sep 27, 2003 11:46 pm    Post subject: How to get message from queue while NOT deleting it? Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Sun Sep 28, 2003 9:34 am    Post subject: Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Mon Sep 29, 2003 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
RogerLacroix
PostPosted: Tue Sep 30, 2003 9:43 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

If you need a tool to view messages in a queue then you should try out MQ Visual Edit. You can download it at:
http://www.capitalware.biz/beta.html

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » How to get message from queue while NOT deleting it?
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.