DEV Community

Cover image for Apache Camel #2 - Calling Rest API

Apache Camel #2 - Calling Rest API

Djordje Bajic on May 30, 2019

Hello! This is the second text about Apache Camel, there will be a lot more in the future. Purpose of this articles is to present people the real ...
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

Collapse
 
karshil2309 profile image
Karshil sheth

Hey @djordje,

I am too new to camel, if you have any github repo for this tutorial, pls do share me link. It will be great. Thanks

Collapse
 
djoleb profile image
Djordje Bajic

Hello Karshll,

Here is a github repo as you requested :)

github.com/djoleB/apache_camel_tut...

Stay safe,
George