1.I have a set up of MQ Application running on MQServer. I also have many other MQ Servers (Customers)which put messages for my MQ Application in a Queue called inbox. I want to group all the messages comming from one customer in one "Logical group". I want my application to get messages from inbox in multiple threads . Each thread getting messages for one customer. Is their any field in MQMD that I can use for this reason.Presently I am using CorellationId for this purpose . But I am not sure .
2.Also my customers want to put the messages with priority . So I want each of my thread to get the messages with the highest priority in a group first , i.e when I start the get application it should spone n threads for n customers and should be in possition to start the processing for higest priority messages in each "Logical group"
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
It sounds like the usage of CorrelationID is going to be your best bet. Consider the idea of having multiple queues, perhaps one for each logical customer group.
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
If you applications are going to put these logical groups in discrete chunks (in other words, a logical group has some beginning and end) then you should try using message grouping. This will cause messages within a group to have the same GroupId and your receiving application can match against this. It will continue to get messages from the same group until it has completely processed all messages in the group, and then it will move on to the next group.
_________________ 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