I\'m trying out apache-camel, and I\'ve set up a basic route that calls an http service via http4 component, transforms the result via unmarshal().json(JsonLibrary.Jackson),
Found the answer, posting in case anyone else runs into this. The route builder should be setup like:
from("direct:start").to("http4://...").unmarshal().json(JsonLibrary.Jackson,com.xxx.Response) .to("bean:com.xxx.MyResponseEchoer")
I.e. pass the class type to the json method.