XStreamXStream is a Data Format which uses the XStream library // lets turn Object messages into XML then send to MQSeries from("activemq:My.Queue"). marshal().xstream(). to("mqseries:Another.Queue"); XMLInputFactory and XMLOutputFactoryThe XStream library|http://xstream.codehaus.org/] uses the javax.xml.stream.XMLInputFactory and javax.xml.stream.XMLOutputFactory, you can control which implementation of this factory should be used. The Factory is discovered using this algorithm: DependenciesTo use XStream in your camel routes you need to add the a dependency on camel-xstream 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). <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-xstream</artifactId> <version>1.5.0</version> </dependency> |