cancel
Showing results for 
Search instead for 
Did you mean: 

Merging Files in to one File

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Frnds,

I am working on one scenario

i have to read files from file directory and merge in to one file and place into another file directory.

this is my scenario i written one java map it reads files from File directory and merge it into one file.

i tested my java map in in eclipse its working,

when i add javamap in interface mapping,my sender file adapter reads all files from Directory

then it will give input as Files to java map,

my doubt is Java map take input of all files as input or only one file it takes input.??

Regards,

Raj

Accepted Solutions (1)

Accepted Solutions (1)

madanmohan_agrawal
Contributor
0 Kudos

Hi Raj,

Raj Says..

my doubt is Java map take input of all files as input or only one file it takes input.??

Java Mapping will take one input file at a time as its input file and will process it.

For three files at source folder; Java Mapping will be called threee times in XI.

regards,

Madan Agrawal

Answers (2)

Answers (2)

rajasekhar_reddy14
Active Contributor
0 Kudos

THANKS

Former Member
0 Kudos

Hi!

... but you may make use of ccBPM to gather all the input files you need.

Regards,

Volker

rajasekhar_reddy14
Active Contributor
0 Kudos

without BPM i am looking for solution.

File adapter reads multiple files at a time from directory, my java map will take input as all Files and it will give output as one file.

regards,

raj

former_member181985
Active Contributor
0 Kudos

not possible.

Why dont you use append mode instead in the receiver file adapter?