Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

XStream

XStream is a Data Format which uses the XStream library to marshal and unmarshal Java objects to and from XML.

Code Block

// lets turn Object messages into XML then send to MQSeries
from("activemq:My.Queue").
  marshal().xstream().
  to("mqseries:Another.Queue");

...