Hi,
is there a way to umarshal XML with CDATA sections and back using jaxb in
camel routes?
This is my XML:
<Error><Payload></Payload></Error>
I created a test route to unmarshal and marshal in series:
DataFormat jaxbError = new JaxbDataFormat("error.model");
from("direct:error")
.unmarshal(jaxbError)
.log("${body}")
.marshal(jaxbError)
.to("mock:error");
Btw I'm creating my model objects with xjc from a schema file.
Thanks in advance
Yusuf
--
View this message in context:
http://camel.465427.n5.nabble.com/unmarshal-CDATA-sections-tp5744209.html
Sent from the Camel - Users mailing list archive at Nabble.com.