Hi guys,
Thanks you ur input.
Charles : the use case is just to transfer all files in a given hdfs
directory to a ftp server and end its execution.
I will try out the 'sendEmptyMessageWhenIdle' methodology and revert.
Thanks again,
R.Monish
On Tue, Sep 2, 2014 at 12:33 PM, Charles Moulliard w
To be informed that you have polled all the files in a specific directory
(your hdfs dir), you can ask the pollingConsumer of the file
component/endpoint to send an empty message using this property
("sendEmptyMessageWhenIdle")
and using a ContentBaseRouter with a predicate (check that you get an e
Hi
Yeah sure you can do a route that runs only for a while. There is ways
to stop a route when there is no more files in a batch.
You can google or search these user forums as this has been debated before.
On Mon, Sep 1, 2014 at 6:38 PM, samnik60 . wrote:
> Hi guys,
> I am trying to use camel
Hi Monish,
What is your use case ? If you use Apache Camel to transfert the files from
a directory to a FTP Server, what would you like to do next ("I want the
route to execute only till all the files in the directory are transferred")
? If I follow you correctly, you are interested to setup 2 cam
Hi guys,
I am trying to use camel for the following use case,
Take all files in a hdfs directory -> transfer the files to a ftp server
I want the route to execute only till all the files in the directory are
transfered. I have looked at camel-hdfs2 and camel-ftp component , but it
seems to give m