What Camel version and OS are you using?

On Fri, Apr 27, 2012 at 3:32 PM, rdifrango <ron.difra...@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: 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/

Reply via email to