on 10-30-2008 2:37 PM
Hi,
Is it posible to save file in multiple directories using receiver file adapter?
Regards,
Ashish
Well, there is a round about way to do that -
The idea is to use multi mapping. 1:n mapping
1) Map ur message to 2 different record set nodes. Since you want to use the same file both the mapping will look exactly the same. make sure that the filepath and filename are a part of the output payload message
2) In the file adapter config. make sure the the file name and file path are from these payload fields. You can use a context object to refer these fields. Voila...the files are created in the 2 direcoties you mentioned.
of course the simplest way is to route the same message to 2 business systems/services and write them out using 2 ccs.,
Arvind R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just have a communication channel for each of your destinations. You can create one then copy it (just changing the destination details)
Then in receiver determination, make sure all the communication channels are added.
Pretty straightforward.
Kind regards
Colin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess not, but u can create custom adapter module which can do that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
just wait for few more response from other experts..
1 ) There might be other options like using Java Proxies and then code in the proxies to ftp to different directory
2) Write a custome adapter module
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
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.