Thanks for the answer. Honestly I am looking for a simple, "one line"
solution instead of create a new Processor class or Bean or use inline
Processor definition.
--
View this message in context:
http://camel.465427.n5.nabble.com/type-save-body-unboxing-tp5777342p5777594.html
Sent from the Cam
Hi zappee,
I think If you want manage some header and class syntactically (compile
time)
you should use Processor feature [1]
from("").process(new Processor() {
public void process(Exchange exchange) throws Exception {
Person payload = exchange.getIn().getBody(Person.class);