*/
public static Map<String, Object> getMap(final Message message) throws JMSException
{
if (message == null)
{
throw new MessageFormatException("Attempting to do AMQPMessage.getMap() on null Message");
}
else if (message instanceof MapMessage)
{
Map<String, Object> object = new HashMap<String, Object>();
MapMessage msg = (MapMessage)message;