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 |
XAJMSContext
The
XAJMSContext interface extends the capability of
JMSContext by adding access to a JMS provider's support for the Java
Transaction API (JTA) (optional). |
Modifier and Type | Method and Description |
---|---|
JMSContext |
ConnectionFactory.createContext()
Creates a JMSContext with the default user identity
and an unspecified sessionMode.
|
JMSContext |
JMSContext.createContext(int sessionMode)
Creates a new
JMSContext with the specified session mode
using the same connection as this JMSContext and creating a
new session. |
JMSContext |
ConnectionFactory.createContext(int sessionMode)
Creates a JMSContext with the default user identity
and the specified session mode.
|
JMSContext |
ConnectionFactory.createContext(String userName,
String password)
Creates a JMSContext with the specified user identity
and an unspecified sessionMode.
|
JMSContext |
ConnectionFactory.createContext(String userName,
String password,
int sessionMode)
Creates a JMSContext with the specified user identity
and the specified session mode.
|
JMSContext |
XAJMSContext.getContext()
Returns the
JMSContext object associated with this
XAJMSContext . |
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.