Yes I used aggregator   it gets valled once that uis good , what I mean is in
my proccesor   from exchange what should I call to get all files
here is my code

     public static class FileProcessor implements  Processor {
                @Override
                public void process(Exchange exchange) throws Exception {
                        System.out.println("from process");
                        // here I should call some method in exchange to get
list of files  what should I call ?
                        List  files; //  how to get list of files ?  what
method should I call

                }
    }
 




--
View this message in context: 
http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4476735.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to