on 04-04-2012 6:17 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using OS commands Scripts after message processing,this works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.