Replaced 'sendAsObject' in JMSSender with 'MessageType'