Re: FTP Component That Consumes On Demand

2010-06-04 Thread Guillaume Nodet
Right, this use case is even exactly described at http://camel.apache.org/ftp.html#FTP-ConsumingaremoteFTPservertriggeredbyaroute On Fri, Jun 4, 2010 at 09:43, Claus Ibsen wrote: > On Fri, Jun 4, 2010 at 9:29 AM, Guillaume Nodet wrote: >> I think Carlo wants to be able to *not* always poll f

Re: FTP Component That Consumes On Demand

2010-06-04 Thread Claus Ibsen
On Fri, Jun 4, 2010 at 9:29 AM, Guillaume Nodet wrote: > I think Carlo wants to be able to *not* always poll for new files, > which is what the polling consumer does. > Instead, he's looking for something like an HTTP GET method, which is > not really a consumer but a provider with no input. > T

Re: FTP Component That Consumes On Demand

2010-06-04 Thread Guillaume Nodet
I think Carlo wants to be able to *not* always poll for new files, which is what the polling consumer does. Instead, he's looking for something like an HTTP GET method, which is not really a consumer but a provider with no input. The idea (iiuc) would be to send an exchange to the ftp provider whic

Re: FTP Component That Consumes On Demand

2010-06-04 Thread Claus Ibsen
Hi You are looking at the polling consumer EIP http://camel.apache.org/polling-consumer.html However Content Enricher EIP is also doable http://camel.apache.org/content-enricher.html as there is a pollEnrich DSL for that. However passing in the filename on the URI is a bit hard to do. There is a