Hi,

I would like to know if there a WIKI page describing the class type returned
by getBody() method of the class Exchange according to the component used ?

In the javadoc of Camel, it is mentioned that the method getBody() returns
an object. This object corresponds to a class of type java.io.File in the
case we use the File component (from("file:///c:/temp/test?delete=true"))

It should be nice to have a table representing such information component by
component and WHICH class we can use to convert the body

ex : 
- convertBodyTo(String.class) when parsing a file using from("file:///)
- convertBodyTo(DOMSource.class) when extracting message coming from a JBI
endpoint

Regards,

Charles
-- 
View this message in context: 
http://www.nabble.com/Is-there-a-WIKI-page-describing-class-type-returned-by-getBody%28%29-method---tp16677652s22882p16677652.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to