Provides static helper methods for encoding and decoding "amqp/list" and "amqp/map" ContentTypes.
Unfortunately the encoding of amqp/map and amqp/list messages is not as useful as it might be in the Qpid JMS runtime. amqp/list messages don't actually have a useful encoding in Qpid JMS, so we have to fake it in this class by encoding/decoding java.util.List objects into a JMS BytesMessage and setting the ContentType to "amqp/list".
Whilst amqp/map messages are encoded as JMS MapMessage this isn't necessarily the most useful format as MapMessage does not conform to the java.util.Map interface. As QMF methods returning lists return lists of java.util.Map there's a bit of an inconsistency of type that getMap() resolves.
@author Fraser Adams