camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ishada <abhisheksinghb...@gmail.com>
Subject Stop the route when there is no file on the SFTP component
Date Fri, 20 Nov 2015 08:58:23 GMT
 0
down vote
favorite
	

I am trying to zip all the files on the SFTP endpoint and move it to some
other location. It is working fine but if there are no files on the SFTP
endpoint I need to stop the route. There is an option
sendEmptyMessageWhenIdle on file endpoint to handle such scenario. Is there
a way I can implement this scenario?




--
View this message in context: http://camel.465427.n5.nabble.com/Stop-the-route-when-there-is-no-file-on-the-SFTP-component-tp5774141.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message