TidyMarkup only supports the unmarshal operation as we really don't want to turn well formed HTML into ugly HTML
An example where the consumer provides some HTML
The following example shows how to use TidyMarkup to unmarshal using Spring
To use TidyMarkup in your camel routes you need to add the a dependency on camel-tagsoup which implements this data format.
If you use maven you could just add the following to your pom.xml, substituting the version number for the latest & greatest release (see the download page for the latest versions).