title: How to get the max retry count within an MDB?
body: <p>I can read the current delivery count using javax.jms.Message.getIntProperty("JMSXDeliveryCount"). I'm trying to read the current max retry setting. I configured it to be 5 using following configuration in jms-service.xml.
  <code></p>
  
  <pre><code>&lt;attribute name="MaxDeliveryAttempts"&gt;5&lt;/attribute&gt;
  </code></pre>
  
  <p></code>
  But when I try read it using </p>
  
  <ul>
  <li>javax.jms.Message.propertyExists("dLQMaxResent") <a href="http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/JBoss_Messaging_User_Guide/ch05s11.html" rel="nofollow">JBoss</a></li>
  <li>javax.jms.Message.propertyExists("MaxDeliveryAttempts")</li>
  <li>javax.jms.Message.propertyExists("DLQMaxResent")</li>
  <li>javax.jms.Message.propertyExists("MaxDeliveryCnt") <a href="http://docs.oracle.com/cd/B31017_01/web.1013/b28221/actcfgprop.htm" rel="nofollow">Oracle</a></li>
  </ul>
  
  <p>All of the above return false. I'm using JBoss EAP 5.0.1 with jboss messaging.</p>
  
  <p>Any suggestions on which property I should be looking for?</p>