Versions Compared

Key

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

...

Jackson XML is a Data Format which uses the Jackson library with the XMLMapper extension to unmarshal an XML payload into Java objects or to marshal Java objects into an XML payload.

Info

If you are familiar with Jackson, this XML data format behaves in the same way as its JSON counterpart, and thus can be used with classes annotated for JSON serialization/deserialization. This extension also mimics JAXB's "Code first" approach.

This data format relies on Woodstox (especially for features like pretty printing), a fast and efficient XML processor.

Code Block
from("activemq:My.Queue").
  unmarshal().jacksonxml().
  to("mqseries:Another.Queue");

...