</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getJMSMajorVersion</span>()
                throws <span class="exceptions"><a href="JMSException.html" title="class in jakarta.jms">JMSException</a></span></div>
<div class="block">Gets the Jakarta Messaging major version number.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the Jakarta Messaging API major version number</dd>
<dt>Throws:</dt>
<dd><code><a href="JMSException.html" title="class in jakart