thodSignature"><a href="JMSContext.html" title="interface in jakarta.jms">JMSContext</a>&nbsp;createContext&#8203;(int&nbsp;sessionMode)</pre>
<div class="block">Creates a JMSContext with the default user identity and the specified session mode.

 <p>
 A connection and session are created for use by the new JMSContext. The JMSContext is created in stopped mode but
 will be automatically started when a JMSConsumer is created.

 <p>
 The effect of setting the <code>sessionMode</code> argument depends on wheth