Uses of Interface
jakarta.jms.Session
-
Packages that use Session Package Description jakarta.jms 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 interfaceQueueSessionAQueueSessionobject provides methods for creatingQueueReceiver,QueueSender,QueueBrowser, andTemporaryQueueobjects.interfaceTopicSessionATopicSessionobject provides methods for creatingTopicPublisher,TopicSubscriber, andTemporaryTopicobjects.interfaceXAQueueSessionAnXAQueueSessionprovides a regularQueueSession, which can be used to createQueueReceiver,QueueSender, andQueueBrowserobjects (optional).interfaceXASessionTheXASessioninterface extends the capability ofSessionby adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional).interfaceXATopicSessionAnXATopicSessionprovides a regularTopicSession.Methods in jakarta.jms that return Session Modifier and Type Method Description SessionConnection. createSession()Creates aSessionobject, specifying no arguments.SessionConnection. createSession(boolean transacted, int acknowledgeMode)Creates aSessionobject, specifyingtransactedandacknowledgeMode.SessionConnection. createSession(int sessionMode)Creates aSessionobject, specifyingsessionMode.SessionXAConnection. createSession(boolean transacted, int acknowledgeMode)Creates anSessionobject.SessionServerSession. getSession()Return theServerSession'sSession.SessionXASession. getSession()Gets the session associated with thisXASession.
-