ed or rolled back, not by calling the <code>JMSContext</code>'s
 <code>commit</code> or <code>rollback</code> methods. Since the argument is ignored, developers are recommended to use
 <code>createContext(String userName, String password)</code> instead of this method.
 </ul>

 <p>
 In the <b>Jakarta EE web or EJB container, when there is no active JTA transaction in progress</b>:
 <ul>
 <li>The argument <code>acknowledgeMode</code> must be set to either of <code>JMSContext.AUTO_ACKNOWLEDGE</code> or
 <code