on 02-25-2009 2:46 AM
Hi,
I have a requirement in a sender file channel.
There are mulitple files with different file names, I want these files to be processed in sequence based on the file name.
For example.
The files lets say are A3_1, A2, A1,A3_2.
I want to process A1 then A2 and then A3.
Please suggest methods to implement the same, I think an adapter module should help, please throw some light on the same.
Regards,
Varun.
Hi,
The option that you have mentioned is valid for NFS only,
I am using an FTP connection and also the filename processing sequence is not alphabetical.
In my case I have to process the files starting with D first then A and then I
Please suggest.
Regards,
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Varun,
In that case I think you need to consider BPM. The file adapter does not support 'advanced' techniques for the sequence in which it polls files.
The process would then be:
- Use the adapter specific identiers for the file adapter to include the file name (/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions)
- Create a message mapping that puts the file name from the dynamic configuration into a field in the message type
- Create an integration process that receives the files from this adapter inside a loop step (/people/daniel.graversen/blog/2006/09/07/using-a-bpm-to-collect-messages-for-a-set-interval-of-time)
- You can now create an interface mapping that sorts the messages according to their filename and then send the messages to the receiver one by one (EOIO?).
Kind regards,
Koen
Hi Varun,
If you want the file to be processed in sequence then you can use Quality of Service EOIO in the sender adapter.
The files are processed in the sequence they are picked up.
Another criteria is processing sequence in file adapter. There are two options By data and By Name. Depending no what you select it will maintain a EOIO order in the XI.
Rgds
joel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Set Processing Sequence as "By Name" in Sender File Channel paramters.
Give a (.) wild card for FileName.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varun,
In Configuration you will be having an option of Processing Sequence, here select the ByName option which will resolve your problem.
*If it provides an answer to your query plz provide the points
Regards,
Shiva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
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.