We use Message or Exchange to set the outbound message . the only method these provide is
exchange.getOut.setBody();
if i do something like setBody(new Object())..it doesn't work
so how do we send java objects via camel exchange.
We use Message or Exchange to set the outbound message . the only method these provide is
exchange.getOut.setBody();
if i do something like setBody(new Object())..it doesn't work
so how do we send java objects via camel exchange.