I dont think we have this easily support out of the box in camel-jaxb component.
Is the class CdataCharacterEscapeHandle a handler you write yourself or where is the class provided if not?
Thanks for the response -
The handler is a custmer handler I wrote myself - it is very simple and basically leaves the content unchange.
This handler therefore only works if I assume that no content needs escaping - obviosuly not something that would work in general.
My scheme also assumes the use of the Sun implementation of Jax-b and I beleive other implementations have different mechanism for handling the same - so I guess it would be difficult to support in Camel.
Is there a way of inserting the CDATA section after the marshalling into the XML using XPATH or similar within the Camel route?
I am using 7.1.0.fuse-047 version of Fuse ESB and Camel 2.10.4 and am facing same issue of character encoding of CDATA section in a String element while camel-jaxb unmarshalling.
Does camel-jaxb component has now support for the String element with CDATA section?
Thanks in advance