cancel
Showing results for 
Search instead for 
Did you mean: 

Picking up file sequentially using file Adapter

Former Member
0 Kudos

Hi Experts,

I am working on a scenario, where two type of files are coming to the source directory namely "Data File" and "Flag File".

First, all the data Files will be coming and after that one flag file will be coming containing names of all the data files.

I am using two seperate Communication channels using "File Adapter" to pick these files. One for all tha data Files and one for Flag File.

As per our requirement we need to pick all data files first and then the flag file and process then in the same sequence.

Is there any solution to do it without BPM.

Regrads

Pradeep

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member750652
Contributor
0 Kudos

Hi Pradeep,

I don't think there is any mechanism where in you can direct the sequence of files to be picked ,more over you are using two communication channels .So both will act individually as per the poll interval.For your requirement. BPM Pattern Collect Message suits better as it always waits for Stop message to finish the integration process.In your case stop message can be your Log file.

Then all the data files will get processed at a time as soon PE receives the Stop msg (Log file).

Thanks,

Ram.