Posted: Wed Jul 25, 2007 4:23 pm Post subject: Grouping for Individual messages.
Novice
Joined: 25 Mar 2007 Posts: 21
My Env is Broker V5 and MQ 5.3
I have a requirement like if the sending application sends 'm' messages to broker and broker process them individually and forwards 'm' messages to mainframe via MQ. The receiving application on MF has to generate a file from all the 'm' messages when it gets the last message from broker.
How can broker tell to MF that 'This is 'n' th message(1st and last message) in a group '. Will it be achieved using grouping? If so how can we do grouping Individual messages?
The MQ App Programming Guide has a section on message grouping.
The OutputRoot.MQMD and the MQOutput node can be configured to send message groups, based on the information in the MQ Application Programming Guide.
Broker will need to know which is the first message and which is the last message in the group, before it can build the message group. _________________ I am *not* the model of the modern major general.
For all the Group messages from Broker, the following MQMD fields are needed to be populated:--
1) same 'groupId'
2) Incrementing 'MsgSeqNumber' and
3) 'MsgFlags' with value MQMF_MSG_IN_GROUP/ MQMF_LAST_MSG_IN_GROUP
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