on 02-27-2013 2:55 PM
Hi Experts,
My requirement is, I need to pick 3 files from a source directory and 2 Directories from advanced selecton of Source files in File adapter .
Is it possible to pick three file from directories and send the 3 files to 3 different Receiver AS2 systems as below mentioned way?
1. From source directory, File1 should go to RCVR1
2. From Directories from advanced selecton of Source files (Say Directory2) to RCVR2.
3. From Directories from advanced selecton of Source files (Say Directory3) to RCVR3.
Again if three files are there at a time in three directories, is it possible to send these files to the respective receiver systems.
Regards,
Sreeni.
Hi Sreeni,
Whether the 3 input files has a specific file name pattern?
If so, enable adapter specific identifiers(File Name) in Sender File adapter and in Receiver Determination you can select the context object as 'FileName' and then give contains pattern operator to check the file name pattern and route the file to respective AS2 receiver.
Alternately, since you mention 3 different input directories, you can also check for the context object 'Directory' , check for the value and do a similar routing to each AS2 receiver.
Regards,
Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreeni,
I think you have any common field for all these 3 Files and you want to perform some type of transformation (Otherwise you can define 3 separate interfaces). Use ccBPM. You can achieve this and not a big challenge.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreeni,
you can achieve your requirement by Multimapping. validate based on any one of the field from that file ar root node, and direct to the corrosponding receiver service.
Regards,
prasanth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sreeni,
sorry, don't understand your need.
What do these three files have to do with each other? Why don't you simply define three sender adapters, one for each directory/file? Is is straight forward then to route these files to separate targets.
Do you want PI to wait until all three files are ready to be picked up? Please explain in more detail.
Regards,
Rolf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.