title: Available message types in JMS?
body: <p>This is based on a past exam question. </p>
  
  <p>The question is asking to describe the <strong>four</strong> types of message available using <strong>JMS</strong>.</p>
  
  <p>The problem is it says the four, not just four. So it assumes their is only four, no more no less.</p>
  
  <p>However according to <a href="http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html" rel="nofollow noreferrer">this site</a> their seems to be <strong>five</strong>; </p>
  
  <ol>
  <li>streams</li>
  <li>maps</li>
  <li>text</li>
  <li>objects</li>
  <li>bytes</li>
  </ol>
  
  <p>*Another book states that XML is another potential type in future versions of JMS. Is XML already available?</p>
  
  <p>Am I missing something or is the question just wrong?</p>
  
  <p>Thanks.</p>
  
  <p><strong>EDIT:</strong> There are 5 types</p>