Convert XML to Json and Json to XML

One Star

Convert XML to Json and Json to XML

Someone knows how to convert xml to json and json to xml in Talend ESB route? When I receive rest message in Job I can configure "consume" and "produce", but how to do this in Route. I need to do some mediation on rest message, so I have to use Route (Content Based Routing), becasue EIP is in Route.
Example:
RestEndpoint_IN->MessageRouter->ConvertXmlToJson->RestEndpoint_Out.
In response I need:
RestEndpoint_Out->ConvertJsonToXml->RestEndpoint_IN
Employee

Re: Convert XML to Json and Json to XML

One Star

Re: Convert XML to Json and Json to XML

Thx my friend, it helps me a lot.