Posted: Thu Nov 14, 2002 2:35 pm Post subject: Reading from Ques
Newbie
Joined: 14 Nov 2002 Posts: 6
Can you read a particular message (ie the 20th) from a que? I want to get the 20th (of a 100) without getting all of the messages, and without having to "get" each one.
Joined: 14 Nov 2002 Posts: 73 Location: USA, CA, Bay Area
You can use correlationID and messageId to find particular message in the queue. If it is not enough you can use other parameters to find a message. Check documentation for "MQGetMessageOptions" object for details.
As far as I know - you cannot read messages by their index in 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