| Package | Description | 
|---|---|
| javax.jms | 
 
The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
QueueSession
A  
QueueSession object provides methods for creating 
 QueueReceiver, QueueSender, 
 QueueBrowser, and TemporaryQueue objects. | 
interface  | 
TopicSession
A  
TopicSession object provides methods for creating 
 TopicPublisher, TopicSubscriber, and 
 TemporaryTopic objects. | 
interface  | 
XAQueueSession
An  
XAQueueSession provides a regular QueueSession,
 which can be used to
 create QueueReceiver, QueueSender, and 
QueueBrowser objects (optional). | 
interface  | 
XASession
The  
XASession interface extends the capability of 
 Session by adding access to a JMS provider's support for the
 Java Transaction API (JTA) (optional). | 
interface  | 
XATopicSession
An  
XATopicSession provides a regular TopicSession. | 
| Modifier and Type | Method and Description | 
|---|---|
Session | 
Connection.createSession()
Creates a  
Session object, 
 specifying no arguments. | 
Session | 
XAConnection.createSession(boolean transacted,
             int acknowledgeMode)
Creates an  
Session object. | 
Session | 
Connection.createSession(boolean transacted,
             int acknowledgeMode)
Creates a  
Session object, 
 specifying transacted and acknowledgeMode. | 
Session | 
Connection.createSession(int sessionMode)
Creates a  
Session object, specifying sessionMode. | 
Session | 
XASession.getSession()
Gets the session associated with this  
XASession. | 
Session | 
ServerSession.getSession()
Return the  
ServerSession's Session. | 
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.