Replaced 'sendAsObject' in JMSSender with 'MessageType'
added correct formatting to mbaluch's code
Merging pull request by Marek Baluch - JMSSender now have messageType property with possible values STRING/OBJECT/BYTE