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.jmsModifier and TypeInterfaceDescriptioninterfaceAQueueSessionobject provides methods for creatingQueueReceiver,QueueSender,QueueBrowser, andTemporaryQueueobjects.interfaceATopicSessionobject provides methods for creatingTopicPublisher,TopicSubscriber, andTemporaryTopicobjects.interfaceAnXAQueueSessionprovides a regularQueueSession, which can be used to createQueueReceiver,QueueSender, andQueueBrowserobjects (optional).interfaceTheXASessioninterface extends the capability ofSessionby adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional).interfaceAnXATopicSessionprovides a regularTopicSession.Methods in jakarta.jms that return SessionModifier and TypeMethodDescriptionConnection.createSession()Creates aSessionobject, specifying no arguments.Connection.createSession(boolean transacted, int acknowledgeMode) Creates aSessionobject, specifyingtransactedandacknowledgeMode.Connection.createSession(int sessionMode) Creates aSessionobject, specifyingsessionMode.XAConnection.createSession(boolean transacted, int acknowledgeMode) Creates anSessionobject.ServerSession.getSession()Return theServerSession'sSession.XASession.getSession()Gets the session associated with thisXASession.