Posted: Thu Jun 27, 2002 12:50 pm Post subject: Retreive Messages in a Group
Newbie
Joined: 13 Jun 2002 Posts: 6 Location: Michigan
Hi All,
I need to retreive messages based on a groupid in a loop. My question is whether there is any way to know if the current msg retreived is the last one. Could anybody throw in some pointers with respect to java.
This illustrates how to get a group of messages from the queue. You'll notice that there is a parameter LAST_MSG_IN_GROUP that it checks for to see the group is exhausted. There's also a corresponding putgroup.c program in the repository. They're written in C, but you can easily see the logic, and replicate it in Java... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
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