I think Claus means the Camel code is "as safe as it could be". If the source is not closed properly, that it's an issue in the JDK. It's more likely an issue in the Smooks code. Did you already checked the code?
Best, Christian On Mon, Sep 24, 2012 at 4:54 PM, OrackBahama <jdorfsch...@metadok.de> wrote: > Hi Claus, > I'm not quite sure if I understand you right - you suspect Smooks for > eventually not closing the InputStream or Reader internally used by > StreamSource ? > > But that would be a systematic error or leak that happens to *all* > processed > files, right ? > On the other hand I'm getting the rename exception at irregular intervals > (let's say once in a week or two / import route permanently polling)... > > Would it be possible that you give me an example for safely converting a > file to StreamSource and calling Smooks in a route ? > Do I need a special errorhandler or .try()/.catch() command in my route ? > > Thanks in advance. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5719862.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --