Posted: Wed Jul 24, 2002 7:45 am Post subject: Q on generating MQMD after an Aggregate Reply node
Centurion
Joined: 10 Apr 2002 Posts: 123
Hi,
I read in the "Developing Solutions in WebSphere MQ Integrator" redbook that the first two lines in the compute node after the Aggregator reply node should be:
SET OutputRoot.MQMD.StructId=MQMD_STRUC_ID;
SET OutputRoot.MQMD.StrucId=MQMD_CURRENT_VERSION;
I put the above set statements in my compute node, and the MQMD generated for my msg is:
(0x1000000)MQMD = (
(0x3000000)StrucId = 'MD '
(0x3000000)Version = 2
(0x3000000)Format = ''
)
Is this enough MQMD information for the above msg to continue processing in the msg flows ? My message does not appear to continue with the rest of the msg flow after it comes out of the Aggregator reply node.
Shouldn't the msg coming out of the Aggregator reply node have a similar MQMD structure to the input msg before it can continue ? I guess I am expecting the out msg to have at least a similar MQMD structure to the input msg like the following:
A message doesn't require an MQMD folder to continue through a message flow, but it does need an MQMD folder before you put it to a queue using an MQOutput node or similar.
The "incomplete" header that you see is ok, because the MQMD fields which aren't specified there will be taken from the defaults or the Put Message Options specified on your MQOutput node.
If you want a complete MQMD to work with, you could probably pinch one from one of the folders in your aggregated reply message, e.g.
SET OutputRoot.MQMD = InputRoot.ComIbmAggregateReplyBody.MyFolder.MQMD;
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