Uses of Interface
jakarta.jms.JMSContext
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 JMSContext in jakarta.jms
Modifier and TypeInterfaceDescriptioninterface
TheXAJMSContext
interface extends the capability ofJMSContext
by adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional).Modifier and TypeMethodDescriptionConnectionFactory.createContext()
Creates a JMSContext with the default user identity and an unspecified sessionMode.ConnectionFactory.createContext
(int sessionMode) Creates a JMSContext with the default user identity and the specified session mode.ConnectionFactory.createContext
(String userName, String password) Creates a JMSContext with the specified user identity and an unspecified sessionMode.ConnectionFactory.createContext
(String userName, String password, int sessionMode) Creates a JMSContext with the specified user identity and the specified session mode.JMSContext.createContext
(int sessionMode) Creates a newJMSContext
with the specified session mode using the same connection as thisJMSContext
and creating a new session.XAJMSContext.getContext()
Returns theJMSContext
object associated with thisXAJMSContext
.