Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
A common usage of the MQGet custom node (IA09) is to get an input message from an MQInput queue and then issue multiple MQGET calls keyed from the same CorrelID.
To acheive this, each message retrieved from the MQGet node must be added to the previous. Assuming the first message (from MQInput) was read as a BLOB, the easiest way to acheive this is to specify the target for the MQGet as "Root.TEMP.DATA". This will read the message from the MQGet queue into the message tree at Root.TEMP.DATA. Assuming that a message was retrieved, follow the MQGet node with a Compute node which moves the data as into the correct location:
should do the trick. The output of the Compute node should be back to the MQGet input.
(I was asked this question by email and wanted to post the response here so I can reference such in future. Please let me know if this is an unnacceptable forum practice)
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