cancel
Showing results for 
Search instead for 
Did you mean: 

Archive multiple file in Sender Communication channel

Former Member
0 Kudos

Hi ,

I have a requirement where I have to pick same type of files from 5 different  directories . This requirement is achived by selecting additional file option in sender channel .However now client is asking for archiving all the file to 5 diff directories . i.e if source directory  is A &B then archive it to A/Archive and B/Archive directories . Can we achieve this requiremnet by only one commchannel . The str of all the file is same and we are using only one mapping for all the five files .

Regards,

Saurabh

Accepted Solutions (0)

Answers (4)

Answers (4)

prateek
Active Contributor
0 Kudos

Why don't you create some receive channels for archive directories and create a receiver determination for same business component. This would be a pass through scenario without any mapping.

Regards,

Prateek Raj Srivastava

Former Member
0 Kudos

Archiving multiples file using sender communication channel can't be done.

This can be achived in Message Mapping by writing an UDF.

I suggest you not to go for message mapping, because we need to use third party API's...

rajasekhar_reddy14
Active Contributor
0 Kudos

Try using OS commands Scripts after message processing,this works.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

IMO, the file adapter is specific for the specified path directory. So Looks like you need seperate channel for this. The other option might be adapter module development.