Re: File locking problem: Windows 7, Camel 2.10.2, Smooks 1.5.1, JBoss 5.1

2012-11-21 Thread Christian Müller
I think the issue is in the Smooks library: If you have a look at org.apache.camel.builder.xml.XsltBuilder#process(Exchange) [1] you can see Camel also close the underlying input stream of the source. Smooks doesn't do this in org.milyn.templating.xslt.XslTemplateProcessor#bypass(...) [2]. Can you

File locking problem: Windows 7, Camel 2.10.2, Smooks 1.5.1, JBoss 5.1

2012-11-06 Thread captnbli
Hi, When I drop the first file in a target directory in the Route below, the file is processed and deleted fine. The second and subsequent files get: [org.apache.camel.component.file.GenericFileOperationFailedException - Cannot delete file: GenericFile[C:\temp\input\20121029.csv. Each time I r