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 » MQGET: Using to concatenate messages

Post new topic  Reply to topic
 MQGET: Using to concatenate messages « View previous topic :: View next topic » 
Author Message
kolban
PostPosted: Tue Aug 07, 2001 1:36 pm    Post subject: Reply with quote

Grand Master

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:

1. Check copy message headers
2.
SET OutputRoot."BLOB"."BLOB" = InputRoot."BLOB"."BLOB" || InputRoot.TEMP.DATA;

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)
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 » MQGET: Using to concatenate 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.