I compile using Maven 3.3.3 ("mvn package" on the command line) and then use "java -Xms2048M -Xms2048M -jar MyProjectName.jar >output.txt"
When in the proper directory that houses the .jar file needed. And I mean that when using the sftp:// route, Camel will sit there and wait for new files to show up and then it will move them into the proper directories. With the ftp:// route it immediately drops back to the command line after it finishes writing to the output file. Hope that's helpful -- View this message in context: http://camel.465427.n5.nabble.com/FTP-Route-fails-with-no-errors-tp5785371p5785373.html Sent from the Camel - Users mailing list archive at Nabble.com.