Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQGET Message Persistence

Status
Not open for further replies.

Kerberose

Programmer
Mar 19, 2001
6
0
0
US
When data comes into a local instance of a clustered queue, and an MQGET is executed to obtain the data, is it possible to maintain this data in the queue, after the 'get'has completed?
A coding example in Java would be muchly appreciated.
Thanks
Kerb
 
You can use MQOO_BROWSE to open the queue for browsing only. This is a non-destructuve GET operation. Be careful though, when you try and "GET" the message, make sure that no other program has already retrieved it.

Cheers,

Scott.
 
Using the 'browse' operation allows you to retrieve the data? I did not know that. Thanks for the post and I will try it out.
Appreciate it.
C
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top