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 Java / JMS » Can messages be "read" rather than "got"

Post new topic  Reply to topic
 Can messages be "read" rather than "got" « View previous topic :: View next topic » 
Author Message
gteddy
PostPosted: Tue Aug 29, 2006 7:31 pm    Post subject: Can messages be "read" rather than "got" Reply with quote

Novice

Joined: 25 Aug 2006
Posts: 14

I'm wondering if there is an MQ Java Api that can help me READ the messages in a queue.
I mean, if i use MQQueue.get(), i'm actually GETTING the messages out, the messages are no longer there in the queue.
But i wanna only read the content of the message for auditting, i don't want to get it out. Is there an API for this?
thanks in advance for help.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Aug 29, 2006 8:15 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi gteddy,

MQQueue.browse()

Open the queue for browse.

Please do a little search next time, this could have been found from the API list or even from the code assist of a good editor.

Regards.
Back to top
View user's profile Send private message Send e-mail
gteddy
PostPosted: Tue Aug 29, 2006 11:00 pm    Post subject: Reply with quote

Novice

Joined: 25 Aug 2006
Posts: 14

thanks for help,elvis
But my Eclipse doesn't show "Browse" among the available method lists of MQQueue instance.
Is there anything wrong?
Back to top
View user's profile Send private message
gteddy
PostPosted: Wed Aug 30, 2006 12:46 am    Post subject: Reply with quote

Novice

Joined: 25 Aug 2006
Posts: 14

i've solved it , thanks again , elvis.
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 Java / JMS » Can messages be "read" rather than "got"
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.