Cannot connect to FTPES server

2012-10-26 Thread ddelizia
Hello, I'm trying to connect to an FTPS server with explicit TLS. I created a jks (keytool -genkey -alias signFiles -keystore theStingKeyStore.jks) and I configured my uri as following: from("ftps://esb...@myftpesserver.com/test?delay=3&fileName=sites.xml&ftpClient.keyStore.file=%2FmyKeyStore.

Re: Route consuming the same file, does not start the second time that it is ran

2012-09-27 Thread ddelizia
Correction It works just the first time, the second time the enrichpool is waiting untill the timeout expire, it seems that the idempotent= false has no effect. from( "jetty:http://0.0.0.0:"; + jettyPort + "/" + jettyControllerPathIncremental)

Best Strategy to process a csv from a given line

2012-09-27 Thread ddelizia
Hello, I have to consume a csv (big file 14MB) and start to read it from a given line number. The line number is stored in a file stored in a ftp, at the end of the process I have to update the line number with the last line I read. So my approach was unmarshalling the file with .unmarshal(csv) and

Re: Route consuming the same file, does not start the second time that it is ran

2012-09-27 Thread ddelizia
Thanks Claus, I did from( "jetty:http://0.0.0.0:"; + jettyPort + "/" + jettyControllerPathIncremental) .process(new Processor() { @Override public void pr

Route consuming the same file, does not start the second time that it is ran

2012-09-27 Thread ddelizia
Hi all, I need to consume a file (always the same) when an http request is done. Basically what I have to do is when an http request is done on a given address then I have to consume a file on an ftp, and process it. So I created the route as follow: from( "jetty:http://0.0.0.0:"; + jettyPort + "/