Uses of Interface
jakarta.jms.Session

Packages that use Session
Package
Description
The Jakarta Messaging API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
  • Uses of Session in jakarta.jms

    Subinterfaces of Session in jakarta.jms
    Modifier and Type
    Interface
    Description
    interface 
    A QueueSession object provides methods for creating QueueReceiver, QueueSender, QueueBrowser, and TemporaryQueue objects.
    interface 
    A TopicSession object provides methods for creating TopicPublisher, TopicSubscriber, and TemporaryTopic objects.
    interface 
    An XAQueueSession provides a regular QueueSession, which can be used to create QueueReceiver, QueueSender, and QueueBrowser objects (optional).
    interface 
    The XASession interface extends the capability of Session by adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional).
    interface 
    An XATopicSession provides a regular TopicSession.
    Methods in jakarta.jms that return Session
    Modifier and Type
    Method
    Description
    Connection.createSession()
    Creates a Session object, specifying no arguments.
    Connection.createSession(boolean transacted, int acknowledgeMode)
    Creates a Session object, specifying transacted and acknowledgeMode.
    Connection.createSession(int sessionMode)
    Creates a Session object, specifying sessionMode.
    XAConnection.createSession(boolean transacted, int acknowledgeMode)
    Creates an Session object.
    ServerSession.getSession()
    Return the ServerSession's Session.
    XASession.getSession()
    Gets the session associated with this XASession.