I have the below requirement:
1. A service will generate 3 attachments and place it in a particular directory.
2. SOA service has to pick those 3 files and send those files as input to another custom application which will email.
1. First SOA will create an archive file of those 3 attachements and then file adapter will poll for that zip file in that location and send that file as a whole to the custom application.
Now my question, is the above design feasible? If so, how to configure the file adapter to pass the file as input to that custom application?
Kindly do the needful
You can accomplish this via java embedding activity...Create a java embedding, which will create a zip file.. this java code is easy to implement..
You can also do away with un-necessary polling file adapter.. and you can use "Synchronous File Read" operation of File Adapter.. For Sync Read, you'll have to pass the zip file name, which you can easily fetch from java embedding activity..
Let me know, if this doesn't work.