|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Can messages be "read" rather than "got" |
« View previous topic :: View next topic » |
Author |
Message
|
gteddy |
Posted: Tue Aug 29, 2006 7:31 pm Post subject: Can messages be "read" rather than "got" |
|
|
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 |
|
 |
elvis_gn |
Posted: Tue Aug 29, 2006 8:15 pm Post subject: |
|
|
 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 |
|
 |
gteddy |
Posted: Tue Aug 29, 2006 11:00 pm Post subject: |
|
|
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 |
|
 |
gteddy |
Posted: Wed Aug 30, 2006 12:46 am Post subject: |
|
|
Novice
Joined: 25 Aug 2006 Posts: 14
|
i've solved it , thanks again , elvis.  |
|
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
|
|
|
|