Thank you for answering, I solved it with pollEnrich.
--
View this message in context:
http://camel.465427.n5.nabble.com/passing-data-to-a-polling-consumer-tp5740313p5740393.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thank you very much, it works with pollEnrich.
from("timer://myTimer?period=1000")
.pollEnrich("file:target/in",
new AggregationStrategy() {
public Exchange aggregate(Exchange oldExchange, Exchange
newExchange) {
if (newExchange == null) return oldExchange;
S
000")
.marshal().csv()
.to("file:target/out");
It seems that I’m missing something very basic here, please help.
Thanks and regards,
Lumi
--
View this message in context:
http://camel.465427.n5.nabble.com/passing-data-to-a-polling-consumer-tp5740313.html
Sent from the Camel - Users mailing list archive at Nabble.com.
el, the root cause is probably simple. Any
help would be highly appreciated.
Thanks,
Lumi