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 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-tp5752256p5752278.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to