Re: pollEnrich all the files in a directory

2014-05-04 Thread Claus Ibsen
___ > From: Claus Ibsen > To: "users@camel.apache.org" > Sent: Sunday, 4 May 2014 1:23 PM > Subject: Re: pollEnrich all the files in a directory > > > On Sun, May 4, 2014 at 9:38 AM, Chirag Dewan wrote: >> Hi, >> >> Can I consum

Re: pollEnrich all the files in a directory

2014-05-04 Thread Chirag Dewan
From: Claus Ibsen To: "users@camel.apache.org" Sent: Sunday, 4 May 2014 1:23 PM Subject: Re: pollEnrich all the files in a directory On Sun, May 4, 2014 at 9:38 AM, Chirag Dewan wrote: > Hi, > > Can I consume all the files in a director

Re: pollEnrich all the files in a directory

2014-05-04 Thread Claus Ibsen
On Sun, May 4, 2014 at 9:38 AM, Chirag Dewan wrote: > Hi, > > Can I consume all the files in a directory,using poll enrich? > > My route would be something like : > > from("seda:abc").pollEnrich("file:/path/of/directory?delete=true).to("file:/path/of/output); > > And I send requests to the route w

pollEnrich all the files in a directory

2014-05-04 Thread Chirag Dewan
Hi, Can I consume all the files in a directory,using poll enrich? My route would be something like : from("seda:abc").pollEnrich("file:/path/of/directory?delete=true).to("file:/path/of/output); And I send requests to the route with null body or blank body.  context.createProducerTemplate().sen