DEV Community

Discussion on: Apache Camel #2 - Calling Rest API

Collapse
 
bizhanghaffary profile image
bizhanghaffary

Hi Djordje,

i am a beginner with Camel. Can you give me a tip how to parse the Rest Response. For Example instead of the .log("Response : ${body}") in the above Code, i would like to parse the Response, convert the Json structure and reply back to the caller.

Collapse
 
djoleb profile image
Djordje Bajic

Hey sorry for the late response i missed the notification :S

Check this video i created to see how to deserialize and serialize JSON.
youtube.com/watch?v=KE_IAHkFdmE

Hope this helps you.
George