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 » One message input, a message group output

Post new topic  Reply to topic
 One message input, a message group output « View previous topic :: View next topic » 
Author Message
Pat Erickson
PostPosted: Tue Sep 30, 2003 1:55 pm    Post subject: One message input, a message group output Reply with quote

Newbie

Joined: 30 Sep 2003
Posts: 1

One XML message is input in a message flow and I want to create multiple messages out that are a message group.

I can get the multiple messages and I can set the MsgSeqNumber and the Message in Group and Last in Group fields. But, I can't get the Group ID to be the same on all of the messages. I have tried setting the Group ID in the compute node but it is different when it gets to the queue.

If three messages are output then they have three different Group ID's.
Back to top
View user's profile Send private message
Craig B
PostPosted: Thu Oct 02, 2003 3:40 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

Hi,

Unfortunately WMQI does not fully support MQSeries message grouping. It provides the functionality to only retrieve group messages when the whole group is available, and allows commit control such that all group messages are retrieved in the same unit of work and commited if all were processed successfully.

When putting messages in a group then you need to use MQPMO_LOGICAL_ORDER. The MQOutput node does use this option for putting, and there is no user option to make this happen. So this would suggest it is not possible to put a message group from a WMQI message flow.
_________________
Regards
Craig
Back to top
View user's profile Send private message
pjs3r
PostPosted: Wed May 26, 2004 9:55 am    Post subject: Reply with quote

Newbie

Joined: 19 Apr 2004
Posts: 4

Craig,
Does this limitation exist in WSIMB 5 CSD 03?

Thanks,

Pete
Back to top
View user's profile Send private message
pjs3r
PostPosted: Wed May 26, 2004 10:24 am    Post subject: Reply with quote

Newbie

Joined: 19 Apr 2004
Posts: 4

It seems as if Craig is correct and message grouping is not fully supported for MQSI 2.x nor 5.0. (see http://www-1.ibm.com/support/docview.wss?rs=0&context=SW900&q1=message+grouping&uid=swg21166060&loc=en_US&cs=utf-8&cc=us&lang=en).

I did find this work around:

In your Compute node, message grouping can be set manually.

For the first message:
Code:

SET OutputRoot.MQMD.GroupId = InputRoot.MQMD.MsgId;
SET OutputRoot.MQMD.MsgSeqNumber = 1;
SET OutputRoot.MQMD.MsgFlags = MQMF_MSG_IN_GROUP;


For the last message:
Code:

SET OutputRoot.MQMD.GroupId = InputRoot.MQMD.MsgId;
SET OutputRoot.MQMD.MsgSeqNumber = n;
SET OutputRoot.MQMD.MsgFlags = MQMF_LAST_MSG_IN_GROUP;
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 » One message input, a message group output
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.