|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
One message input, a message group output |
« View previous topic :: View next topic » |
Author |
Message
|
Pat Erickson |
Posted: Tue Sep 30, 2003 1:55 pm Post subject: One message input, a message group output |
|
|
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 |
|
 |
Craig B |
Posted: Thu Oct 02, 2003 3:40 am Post subject: |
|
|
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 |
|
 |
pjs3r |
Posted: Wed May 26, 2004 9:55 am Post subject: |
|
|
Newbie
Joined: 19 Apr 2004 Posts: 4
|
Craig,
Does this limitation exist in WSIMB 5 CSD 03?
Thanks,
Pete |
|
Back to top |
|
 |
pjs3r |
Posted: Wed May 26, 2004 10:24 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|