In this special case (file + hashcode) the aggregator could store the hashvalue as header. So a validation step could compare the actual value with the expected (header) one.
Or the aggregator could do both and throw an exception or send a special exchange/headervalue ... Jan > -----Ursprüngliche Nachricht----- > Von: Christian Müller [mailto:christian.muel...@gmail.com] > Gesendet: Mittwoch, 29. Oktober 2014 22:03 > An: users@camel.apache.org > Betreff: Re: How to pick multiple file in same route > > http://camel.apache.org/aggregator2.html > > Best, > > Christian > ----------------- > > Software Integration Specialist > > Apache Member > V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer > Apache Incubator PMC Member > > https://www.linkedin.com/pub/christian-mueller/11/551/642 > > On Wed, Oct 29, 2014 at 1:07 PM, dkum003 <dhananjay.ku...@amadeus.com> > wrote: > > > Hi, > > > > Currently we are picking one files and corresponding .md5 file from > > ftp/sftp server. > > The file name has some naming convention. > > For this we are using PollingConsumerPollStrategy and > > AntPathMatcherGenericFileFilter. > > > > Now I want to process multiple file based on some condition, what we > > have to do? > > > > Any help will be appreciated. > > > > Regards, > > Dhananjay > > > > > > > > -- > > View this message in context: > > http://camel.465427.n5.nabble.com/How-to-pick-multiple-file-in-same- > ro > > ute-tp5758294.html Sent from the Camel - Users mailing list archive > at > > Nabble.com. > >