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.
The String Data Format is a textual based format that supports encoding. Options
MarshalIn this example we marshal the file content to String object in UTF-8 encoding. from("file://data.csv").marshal().string("UTF-8").to("jms://myqueue"); UnmarshalIn this example we unmarshal the payload from the JMS queue to a String object using UTF-8 encoding, before its processed by the newOrder processor. from("jms://queue/order").unmarshal().string("UTF-8").processRef("newOrder"); DependenciesThis data format is provided in camel-core so no additional dependencies is needed. |