I need to stop the route if there are no files on the endpoint.
My sequence of steps are as follows
1> Get Payload form JMS Queue.
2>Delete and zip all the files on the SFTP server.
3>Move the payload to the SFTP.

So in the 2nd step I am acquiring lock and once the files are deleted, I am
moving to the 3rd step.
But If there are no files on the SFTP server to delete, I am not able to
stop the route and move to the 3rd step.



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

Reply via email to