Posted: Sat Feb 08, 2003 4:43 am Post subject: Without Setting Expiry period .............
Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
Hi
I am using MQJava API classes for Reading and Writing the message in the Queue.
As per our Requirement i need to keep the same message after Reading from the queue
Is there any properties to set slove this probs?
Thank for ur Reply,I just specified that properties after that it is ok.
I checked manuals also i am not able to understand below properties:
can u give some more explaination??
MQC.MQGMO_BROWSE_FIRST
Browse from start of queue.
MQC.MQGMO_BROWSE_NEXT
Browse from the current position in the queue.
Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium
You can iterate on MQGET with the MQGMO_BROWSE_NEXT option, and this will retrieve all messages of the queue.
With MQGMO_BROWSE_FIRST you move back to the first message of the queue.
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