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=password")
to:
from("sftp://hostname/<relative_path_from_sftp_user_home_directory>/xmls?username=username&password=password")
Suppose user login directory is: home/mydir/
and Polling directory is : /home/mydir/xmls
Then your uri should be
from("sftp://hostname/xmls?username=username&password=password") OR
from("sftp://hostname/../../home/mydir/xmls?username=username&password=password")
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-route-with-camel-version-2-16-0-is-polling-directory-but-not-readingany-files-from-sftp-locati3-tp5781617p5795992.html
Sent from the Camel - Users mailing list archive at Nabble.com.