Just as a wrap up on this one, I think splitting things up into multiple
routes along with the 2.10 release solved this issue. Thanks again for your
assistance.
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5697666.html
Sent
lit(7))
// Replace the incoming message with the insert statement
} yield x
exchange.getIn().setBody(body.mkString("\n"))
}
The interesting thing to me is that the following route works as works as
expected:
"file:perf_insert?delete=true" ==> {
spl
g delete attempts.
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5691470.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
CamelOne 2012 Confe
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5691470.html
Sent from the Camel - Users mailing list archive at Nabble.com.
91459/SplitPerfProcessor.scala
SplitPerfProcessor.scala
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5691459.html
Sent from the Camel - Users mailing list archive at Nabble.com.
/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-Proce
.RELEASE.jar
--
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.
.html
Or you can build from source
http://camel.apache.org/building.html
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5686206.html
> Sent from the Camel - Users mailing list archive at Nabble.co
Has this been baked into a snapshot release that is available or source build
only?
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5686206.html
Sent from the Camel - Users mailing list archive at Nabble.com.
> have any locks.
>
>
>
> On Mon, Apr 30, 2012 at 8:58 PM, rdifrango <[hidden
> email]>
> wrote:
>> I wonder if using one the Marshalling frameworks would solve this?
>>
>> --
>> View this message in context:
> http://camel.465427.n
p://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/
--
If you reply to this email, your message will be added to the discussion
below:
http://camel.465427.n5.nabble.com/
the Marshalling frameworks would solve this?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5676645.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
CamelO
I wonder if using one the Marshalling frameworks would solve this?
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5676645.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks, in the meantime I'm going to see if I can get this running on a Unix
box.
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5676398.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Routes(new RouteBuilder() {
> public void configure() {
>
> from("file:perf?delete=true").split(body().tokenize("\n"))
>
> .streaming().process(lineSplitter)
>
.to("jdbc:dataSource?resetAutoCommit=false").end();
}
});
context.start();
Thread.sleep(6);
context.stop();
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5675961.html
Sent from the Camel - Users mailing list archive at Nabble.com.
mel.apache.org/contributing.html
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5670621.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
CamelOne 2012 C
Yeah, in the Scala DSL, it doesn't seem to support that. Is that a bug or
feature request?
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5670621.html
Sent from the Camel - Users mailing list archive at Nabble.com.
uld be the root?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5670589.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
CamelOne 2012 Conference, May
I guess this is implicitly touching the stream:
split(_.getIn().getBody(classOf[String]).split("\n"))
Could be the root?
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5670589.html
Sent from the Camel - Users ma
to my custom component
"direct:x" process (processor)
"direct:y" process (processor)
"direct:z" process (processor)
})
// Start the camel process
context.start
// Wait for the process to execute
Thread.sleep(12)
// Stop the camel process
context.stop
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5670575.html
Sent from the Camel - Users mailing list archive at Nabble.com.
t; View this message in context:
> http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5670530.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.co
Camel version 2.9.2 on a Windows 7 Machine.
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5670530.html
Sent from the Camel - Users mailing list archive at Nabble.com.
=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
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.
25 matches
Mail list logo