Hello

I want to get some fields from a Map structure and put those fields into a
Bean.

I have this code :

from("http://....URL to a REST service that returns a JSon ...").
                unmarshal().json(JsonLibrary.Jackson).
                split(simple("${body[data][results]}")).
                *log("COMIC :
${body[id]}---${body[title]}----${body[prices][0][price]} ");*

After the log line I want to put those 2 values into a new Bean fields.

Is there any built-in transformation process inside camel that is capable
of create new POJOs and assign values ?

Kind regards.



[image: Inline image 2]

* Jonathan Vila    ** <https://www.twitter.com/jonathan_vila>
<http://www.linkedin.com/in/jonathanvila>*


* [email protected] <[email protected]>*

Reply via email to