Hi I dont know what you do in those routes you call with the direct endpoint.
But I suggest to load the file into memory in the start of the route. Then there is no input stream to the file handle in use, which otherwise could lock the file. You can add a .convertBodyTo(String.class) in the start of your route, eg just after the from On Mon, May 7, 2012 at 5:20 PM, rdifrango <ron.difra...@gmail.com> wrote: > I downloaded the snapshot version today and ran both my Java and Scala > versions and it still appears to have the same problem. Here are the > libraries that I used: > > camel-core-2.10-SNAPSHOT.jar > camel-ftp-2.10-SNAPSHOT.jar > camel-jdbc-2.10-SNAPSHOT.jar > camel-jms-2.10-SNAPSHOT.jar > camel-scala-2.10-SNAPSHOT.jar > optional/log4j-1.2.16.jar > slf4j-api-1.6.1.jar > optional/slf4j-log4j12-1.6.4.jar > spring/spring-beans-3.0.7.RELEASE.jar > spring/spring-context-3.0.7.RELEASE.jar > spring/spring-core-3.0.7.RELEASE.jar > spring/spring-jdbc-3.0.7.RELEASE.jar > spring/spring-jms-3.0.7.RELEASE.jar > spring/spring-tx-3.0.7.RELEASE.jar > Well > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5691340.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/