You’ll probably understand this a bit better when looking at the class 
“org.apache.camel.spring.Main".

Best,

Christoph

On 13 Jun 2014, at 15:17, Licia <alicia.pari...@gmail.com> wrote:

> 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 Exception {
>        new Main().run(args);
>    }
> }
> 
> But it doesn't "launch" any method really. What is this run ? What is it
> doing ? 
> Then I understand that the CustomerEntity.java describes the schema of the
> base and the PersonDocument uses JAXB to express what XML elements of the
> hiram.xml and james.xml correspond to a root, an element, an attribute etc. 
> I also get the fact that the thing that converts the PersonDocument into
> CustomerEntity is the CustomerTransformer. 
> 
> And I understant the "general meaning" of routes even if here I don't really
> understand the details. 
> 
> But what I really don't get is how all the instructions are executed. In
> what order, who asks them to, etc.
> 
> 
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Problem-with-ETL-example-tp5752256p5752270.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to