Versions Compared

Key

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

Overview

Marshallers convert binding specific messages to/from JBI nommalised messages.

It is also possible for a user to write their own marshaller to substitute for those built-in ones. User marshallers would be defined in the servicemix configration file.

Questions:

  • My initial questions about this area were based on the apparent ad-hoc implmentations of the marshallers (from the class diagram).
  • I thought that the interface Marshaler was intended as a base for all marshallers.
  • I was also confused why some marshallers are standalone, while others derive from a common base (MarshalerSupport).
  • Yet more have interfaces (eg FileMarshaler), but there is no consistency

– PS

Notes

Wiki Markup
Notes \[19/12\]:

  • Marshaler (the interface) is really intended for POJO/NM support

...

  • Some standalone marshalers don't derive MarshalerSupport base class. Not No particular reason ; they just preceded it, that's all

...

  • See IRC log 19/Dec for more comments

Wiki Markup
Update \[20/12\]:

  • SM devs refactored interface Marshaler to PojoMarshaler to reduce confusion about purpose of Marshaler

Class diagram showing ServiceMix 2.0.2 marshallers