Hello every one, hope all doing good.
My requirement goes like this, I have to archive 2 .csv files into 1 .zip file and need to send it to Queue(Active MQ). in bytes type of message (as i am converting that .zip file into bytes[]). I am using some java code to convert that .zip file into bytes[] but in the end I am getting a .zip file which is not readable, it says exact size but not able read it or open it(it says file corrupted). But i can see the archived file is in very good condition before upload.
By the way we have defined a separate component for tmomoutput because the default component is just converting everything into string even though i say it as bytes[], as the archive file should be in binary format. I am getting same result even i used default tmomoutput component which seems to be strange.
I will attach some screen shots of my job, please suggest me or help me.
Talend Version: 5.1.2
OS: Windows 7
Thank you
Kind Regards,
Badri.Venkata