Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
Convert the message body to the given class type. To do so camel uses a hierarchy of TypeConverters SyntaxJavaconvertBodyTo(Class type [, String charset]) Spring XML<convertBodyTo type="<String>" [charset="<String>"] > Parameters
Examplesconvert to Java String JavaconvertBodyTo(String.class) Spring XML Schema<convertBodyTo type="java.lang.String"/> Other types to use:
|