Am trying to convert a JSON message to XML format as given below, <dataFormats> <xmljson id="xmljson"/> <xmljson id="xmljsonWithOptions" forceTopLevelObject="true" trimSpaces="true" rootName="newRoot" skipNamespaces="true" removeNamespacePrefixes="true"/>
<route id="parseJSON"> <from uri="direct:inter2" /> <unmarshal ref="xmljsonWithOptions"/> <to uri="direct:inter3" /> Am using. Camel-XmlJSON 2.10.3 JAR. When i execute my route, i get the following error, JmsConsumer[ISEEOutboundQueue]) CamelOutboundAdapter exception: Failed to create route parseJSON at: >>> Unmarshal[ref:xmljsonWithOptions] <<< in route: Route[[From[direct:inter2]] -> [Unmarshal[ref:xmljsonWithOpt... because of Cannot find data format in registry with ref: xmljsonWithOptions Can anyone please let me know how to resolve this? Thanks, Anish -- View this message in context: http://camel.465427.n5.nabble.com/JSON-to-XML-Conversion-tp5771031.html Sent from the Camel - Users mailing list archive at Nabble.com.