Posted: Wed Apr 29, 2009 6:55 am Post subject: Collector Node 6.1
Centurion
Joined: 14 Mar 2009 Posts: 108
Hello All,
I have a requirement to work on Collector node.
My Requirement is I have Single source which sends a files to a directory.
The source may send multiple files. there is no limit to send. I have to collect the message and merge it in a single file and send it to target.
I have tried to read the message as blob and tried to concat all message.
My problem is i am not able to count the files befor i merge it. it sends a files as it is.
I mean The target has received the same no of files as Source has sent.
Here is my logic
FOR R AS InputRoot.Collection.In1.*[] DO
SET str = str || R.In1.BLOB;
END FOR;
SET OutputRoot.BLOB.BLOB = str;
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