Hello,
Looking at the ETL example that is impressive, I see that a detected file is
converted to a POJO ; this is defined a route declared in the EtlRoutes
class:
from("file:src/data?noop=true").convertBodyTo(PersonDocument.class)...
I know that when a file is detected in the src folder the body of the
message that comes in is of type File ; how the XML content of this file is
converted (marshalled) to the POJO PersonDocument that has JAXB annotations?
Can I have more details, for example how Camel knows that it has to marshall
using JAXB?
Thank you!
Bertrand.
--
View this message in context:
http://www.nabble.com/From-File-to-POJO-using-JAXB-tf4535029s22882.html#a12942160
Sent from the Camel - Users mailing list archive at Nabble.com.