Re: camel route with camel version 2.16.0 is polling directory, but not readingany files from sftp location. the same code works fine using the camel version 2.15.3

2017-03-22 Thread Himanshu Mittal
I assume that issue would have been resolved now. In case it is not change your source uri from : from("sftp://hostname/home/mydir/xmls?username=username=password;) to: from("sftp://hostname//xmls?username=username=password") Suppose user login directory is: home/mydir/ and Polling directory is

Re: camel route with camel version 2.16.0 is polling directory, but not readingany files from sftp location. the same code works fine using the camel version 2.15.3

2016-04-24 Thread Himanshu Mittal
>From Camel 2.16 onward it does not support absolute paths. Can you change ftp.location.dir to a relative dir and verify ? -- View this message in context:

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-12 Thread Himanshu Mittal
With tempPrefix as well as with tempFileName a new connection is being created for each file transfer. -- View this message in context: http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768134.html Sent from the

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Himanshu Mittal
When we remove tempFileName from uri , FTP connections are not exhausted . -- View this message in context: http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768097.html Sent from the Camel - Users mailing list

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Himanshu Mittal
We faced this issue in *camel 2.12*. I tested the same with *camel 2.14* . Still I see connection being opened for each temp file. Created below JIRA for same CAMEL-8860 https://issues.apache.org/jira/browse/CAMEL-8860 -- View this message in context:

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-11 Thread Himanshu Mittal
Temporary file name (Camel property : tempFileName )is creating new connection for each file transfer. -- View this message in context: http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768121.html Sent from the Camel

Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-09 Thread Himanshu Mittal
So many connections remain in TIME_WAIT state while configuring a FTP producer route with tempfilename property in FTP producer. I am using *Producertemplate.sendBodyAndHeader(producerURI, Exchange.FILE_NAME, fileName)* to write file to destination. *Producer URI* :