title: Apache Camel: Convert JSON to a POJO using Camel methods
body: <p>I have a REST server which sends JSON in response body. I have recently started reading about Apache Camel. I use following to send requests to my REST service. </p>
  
  <pre><code>from("direct:start").setHeader("token", simple("234da"))
                              .to("http://localhost:8088/foo/bar/?foo1=bar1");
  </code></pre>
  
  <p>Now the response will be a JSON, is there any way I get this JSON directly into a POJO using some method ahead of <code>to()</code> (something like this)?</p>
  
  <pre><code>to("http://localhost:8088/foo/bar/?foo1=bar1").toPOJO();
  </code></pre>
  
  <p>I would prefer a non Spring solution.</p>
  
  <p>Thanks</p>