Posted: Thu Jul 17, 2003 5:29 am Post subject: FTP Server Node and Grouping messages
Novice
Joined: 09 May 2003 Posts: 17
Hi
I have a file, I FTP it up to MQSI using the FTP server node. It splits the file into messages per carriage return (to give a header message , 1 or many detail lines messages and a trailer message). Linked out of the FTP Server Node is a compute node where I add a MQMD (MQMD - DATAGRAM) to each. Is there any way that I can Group the messages of the one file together? I ask this as I do different things on the Header, detail line and Trailer messages and then I need to be able to bring all the messages for the one file back together again and output as one message.
The three common ways to solve this aggregation/shared state problem is to use a database, another queue (and the MQGet node) or a custom plug-in.
You might also consider modifying the FTPInput node so that it doesn't break your message up, and then modelling the header, body, and trailer in MRM for parsing.
Or removing all CR/LFs from the file before you FTP it...
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