Hi .
I've created a String to org.jdom.Document and org.jdom.Document to
String type converter.
The trouble is the org.jdom.Document doesn't seem to work.
The converter code seems to be fine , as I tested it using the main
method and it returns what I need.
But whether I output a message with org.jdom.Document body to a
activemq:queue ot try to force conversion
by <convertBodyTo type="java.lang.String"/> I don't get the same result.
Instead , I get [Document: No DOCTYPE declaration, Root is [Element:
<project/>]]] which looks rather like an output
of org.jdom.Document.toString() method.
Any idea, why or how to make it use the converter ?
Thanks
Remi