-
1. Re: How to read Json from ESB Message ?
tcunning Feb 25, 2013 4:51 PM (in response to optixpro)You should be able to do a Smooks transformation XML->JSON.
-
2. Re: How to read Json from ESB Message ?
optixpro Feb 26, 2013 8:40 PM (in response to tcunning)Thanks you very much Tom for your answer.
But i hava some question more if i have a lot of JSON format i have to create a lot of Smooks JSON teamplate too ?
Can it do something in JavaCode to cover all Json to XML in one function ?
-
3. Re: How to read Json from ESB Message ?
tcunning Feb 27, 2013 10:05 AM (in response to optixpro)There's a lot of approaches I guess you could look into here :
- Smooks transformation JSON->XML or XML->JSON, not sure which way you are going
- custom action using Jackson
- Camel Gateway using the JSON component
I'd look at the camel_helloworld (substituting in the camel_json component) and maybe transform_XML2XML_simple for a Smooks approach.
-
4. Re: How to read Json from ESB Message ?
optixpro Feb 27, 2013 11:42 AM (in response to tcunning)I'm used custom action for REST proxy to pass through everything http reqest to rest webservice
I have GET,PUT,POST,DELETE and also XML/JSON input
-
5. Re: How to read Json from ESB Message ?
optixpro Mar 4, 2013 9:26 AM (in response to tcunning)Tom Please help me i think my point just want to pass through data from http reqest to the rest-webservice