Re: AW: Problem with ETL example

2014-06-13 Thread Babak Vahdat
In addition to what Jan has already said, maybe you want to go through the following blog post to get a better understanding about this example: http://saltnlight5.blogspot.ch/2013/08/getting-started-with-apache-camel-using.html Babak Licia wrote > Thanks a lot ! It works now, I mean nothing ge

AW: AW: Problem with ETL example

2014-06-13 Thread jhm
Licia [mailto:alicia.pari...@gmail.com] > Gesendet: Freitag, 13. Juni 2014 15:18 > An: users@camel.apache.org > Betreff: Re: AW: Problem with ETL example > > Thanks a lot ! It works now, I mean nothing get to be print on the > console. > > But what I'm wondering is

Re: AW: Problem with ETL example

2014-06-13 Thread Licia
Thanks a lot ! It works now, I mean nothing get to be print on the console. But what I'm wondering is the following. I don't really understand how the Main class works. It just goes : public class Main extends org.apache.camel.spring.Main { public static void main(String... args) throws Exc

Re: AW: Problem with ETL example

2014-06-13 Thread Babak Vahdat
This is part of how Apache OpenJPA has been setup for this example, so if you don't want to see those logs then just tweak the logging configuration a bit: https://github.com/apache/camel/blob/master/examples/camel-example-etl/src/main/resources/META-INF/persistence.xml#L27 E.g. set all the level

AW: AW: Problem with ETL example

2014-06-13 Thread jhm
Thanks for explanation. I updated the wiki ;) Jan > -Ursprüngliche Nachricht- > Von: Babak Vahdat [mailto:babak.vah...@swissonline.ch] > Gesendet: Freitag, 13. Juni 2014 13:15 > An: users@camel.apache.org > Betreff: Re: AW: Problem with ETL example > > No, the fi

Re: AW: Problem with ETL example

2014-06-13 Thread Licia
First of, thank you for your answer. But the thing is the probleme is not "really" solved because after i compiled using your tip, the console is still running on and on again, but with a different type of message that I understand even less than before... 26626 camel TRACE [Camel (camel) th

Re: AW: Problem with ETL example

2014-06-13 Thread Babak Vahdat
No, the file consumer makes use of the memory based Idempotent Consumer here. No matter if you make use of noop true/false it will consume each file *only* once. Change noop to false or remove it and you will not see any change in the behavior of the second route. The first route will *always* cons

AW: Problem with ETL example

2014-06-13 Thread jhm
from("file:src/data?noop=true") .convertBodyTo(PersonDocument.class) .to("jpa:org.apache.camel.example.etl.CustomerEntity"); // the following will dump the database to files from("jpa:org.apache.camel.example.etl.CustomerEntity?consumeDelete=false&de lay=3