               int&nbsp;acknowledgeMode)
                         throws <a href="../../jakarta/jms/JMSException.html" title="class in jakarta.jms">JMSException</a></pre>
<div class="block">Creates a <code>QueueSession</code> object, specifying <code>transacted</code> and <code>acknowledgeMode</code>.

 <p>
 The effect of setting the <code>transacted</code> and <code>acknowledgeMode</code> arguments depends on whether this method is
 called in a Java SE environment, in the Jakarta EE application client cont