title: How can I use TextMessage to send an XML file to the JMS Queue?
body: <p>The Oracle Docs say - </p>
  
  <blockquote>
    <p>A TextMessage object is used to send a message containing a java.lang.String. It inherits >from the Message interface and adds a text message body.
    This message type can be used to transport text-based messages, including those with XML >content.</p>
  </blockquote>
  
  <p>How is this possible? Are the contents of the XML only send-able(by converting it into an Object and then sending it)? Can the XML File be really put on the Queue in any way and then be read on the receiver side?</p>