...
Java Class | Purpose |
---|---|
The JPA entity bean (i.e. a POJO with @Entity) | |
The JAXB2 POJO used to parse the XML | |
The custom Type Converter used to convert a PersonDocument into a CustomerEntity | |
The Camel routing DSL to define the flow from the files to the converter to the JPA endpoint |
The Then there is the spring configuration file in src/resources/META-INF/services/camel-context.xml which defines the JPA template and tells Camel to look in the org.apache.camel.example.etl package to find its routes.
...