HI can any body help me on this.
from("direct:restClient").toD("url")
.unmarshal().json(JsonLibrary.Jackson, Product[].class
).log("STARTED!")
.process(new
Processor() {
@Override
public void process(Exchange exchange) throws Exception
{
Product body = exchange.getIn().getBody(Product.class);
exchange.getIn().setBody(body);
}})
.end();
--
View this message in context:
http://camel.465427.n5.nabble.com/nullpointerException-coming-while-doing-JSON-to-Java-POJO-tp5790508.html
Sent from the Camel - Users mailing list archive at Nabble.com.