Hi,

I'm trying to convert an application from camel 2.17 to camel 3.11, and I have 
a concerned with xmljson.

I don't found any component or data format who directly convert from json to 
XML. In Camel 3.11


The much closer I get is when I  take my input  in JSON , convert to  
java.util.hashmap with Jackson an then convert in XML with xstream
But the XML result is very complicated to exploit

<dataFormats>
<json id="Json2Map" library="Jackson" unmarshalTypeName="java.util.HashMap"/>
</dataFormats>
... body is a JSON string
<unmarshal><custom ref="Json2Map"/> </unmarshal>
<marshal><xstream/></marshal>


Did I missed something! ???


I'm using CAMEL-3.11 in Karaf-4.2.11 with blueprint.

Regards!


Daniel Langevin
Direction de l'assistance et des technologie
Direction des ressources informationnelles et matérielles

Reply via email to