You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by arvind <ar...@gmail.com> on 2014/08/05 17:19:01 UTC

Can we use processStrategy inside the in the URI to poll the files over sftp?

Hi I am running with camel 2.9.2 .Below is the from uri using to poll the
files from SFTP to local directory ,it gets connected than disconnecting and 
throwing an issue

" INFO  org.apache.camel.component.file.remote.SftpOperations  - JSCH ->
Caught an exception, leaving main loop due to socket closed."

If I remove " processStrategy=#BPXFProcessStrategy&amp" from uri than able
to poll the files over SFTP using filter.
=========================================================================

<route id="abc">
			<from
uri="sftp://****@11.11.11.11:21//Users?filter=#BPXFFilter&amp;processStrategy=#BPXFProcessStrategy&amp;idempotent=true&amp;idempotentRepository=#BPXFStore_axis&amp;localWorkDirectory=C:/temp&amp;binary=true&amp;password=***"
/>
			<to uri="file:E:\xyz" />
	</route>

===========================================================================

Please suggest .



--
View this message in context: http://camel.465427.n5.nabble.com/Can-we-use-processStrategy-inside-the-route-in-the-from-URI-to-poll-the-files-over-sftp-tp5754806.html
Sent from the Camel - Users mailing list archive at Nabble.com.