Maintaning the same file name as the source and zip the output in PI 7.11
Hello dear friends,
I've a scenario where I have to dynamically maintain the file name (test1.xml, test2.xml,...) and zip the output (test1.zip, test2.zip,...).
I use Adapter-Specific Message Attribute to dynamically determine the file name and I use PayloadZipBean (zip.mode - zipAll) to zip the files.
When I use both of these options in the receiver file communication channel I get a corrupt XML file as output but when I use those options separately it works fine.
I don't want to work with OS commands, is there another solution for this issue?
Your help in this is appreciated,
Thank you and Regards,