camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: File Processor Not deleting the files
Date Fri, 27 Apr 2012 14:38:52 GMT
What Camel version and OS are you using?

On Fri, Apr 27, 2012 at 3:32 PM, rdifrango <ron.difrango@gmail.com> wrote:
> I have the following route:
>
> context.addRoutes(new RouteBuilder {
>    // Read the file(s) from the directory
>    "file:perf?delete=true" ==> {
>      // Split the file up at each line
>      split(_.getIn().getBody(classOf[String]).split("\n")) {
>        // The further split up the processing across multiple parsers
>        loadbalance roundrobin {
>        // Reference to my internal components
>          to("direct:x")
>          to("direct:y")
>          to("direct:z")
>        }
>      // Join back the results from aboce
>      // then split it out again turning off commit level changes
>      }.loadbalance roundrobin {
>        to("jdbc:dataSource?resetAutoCommit=false")
>        to("jdbc:dataSource?resetAutoCommit=false")
>        to("jdbc:dataSource?resetAutoCommit=false")
>      }
>    }
>
> The behavior I'm see is that if I have multiple files, they aren't deleted
> once they are processed.  Any reason why not?
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5670301.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: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message