on 07-12-2010 11:35 AM
Hi all,
I have a scenario in which the file adapter should pick multiple files from multiple directories and at the receiver side it should put these files in different folders with different file names. There is no content conversion involved and no message mapping
Please throw some light on how to achieve this
-Keerthi
You could configure individual File CCs to poll the files and FTP them(Std approach -> No design Objects, only config using Dummy SIs).
~Saravana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cant use multiple communication channels.
only one at the receiver and one at the sender are allowed.
Sender side im ok. with one communication channel i can process this using 'Advanced Selection for source file'. This works
Im stuck processing at the receiver side with a single communication channel'
When you specify this additional files option in the sender file CC, the content of this additional files will be coming in as "Attachments" along with main payload correct ? if so, i beleive you may not bs able to use the receiver file CC.
Chk this thread - which tells you cleasrly that receiver file CC does not support processing attachments in the payload. You may have to go the Java Proxy way or other options specified in the thread. Hope this helps.
~Saravana
I believe you can achieve your requirement by using one file communication channel (No need for Java mapping or custom code). Did you had a look the File channel option which allows to get Multiple files from Multiple directories?
Open File channel -> File access parameters -> Provide dummy file name and directory name
-> ENABLE Advanced Selection for Source File -> Provide each directory and File name scheme in each row.
Hope this helps.
Thanks and Regards,
Ananth
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.