ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Grouping for Individual messages.

Post new topic  Reply to topic
 Grouping for Individual messages. « View previous topic :: View next topic » 
Author Message
mbprimer
PostPosted: Wed Jul 25, 2007 4:23 pm    Post subject: Grouping for Individual messages. Reply with quote

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?

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jul 25, 2007 5:23 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

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.
Back to top
View user's profile Send private message
sunny_30
PostPosted: Fri Jul 27, 2007 2:56 pm    Post subject: Reply with quote

Master

Joined: 03 Oct 2005
Posts: 258

mbprimer,

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

-Sunny
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Grouping for Individual messages.
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.