com.ibm.msg.client.jms

Interface JmsXASession

  • All Superinterfaces:
    java.lang.AutoCloseable, JmsPropertyContext, JmsReadablePropertyContext, JmsSession, java.util.Map<java.lang.String,java.lang.Object>, java.lang.Runnable, java.io.Serializable, javax.jms.Session, javax.jms.XASession
    All Known Subinterfaces:
    JmsXAQueueSession, JmsXATopicSession
    All Known Implementing Classes:
    MQXAQueueSession, MQXATopicSession


    public interface JmsXASession
    extends JmsSession, javax.jms.XASession
    The JmsXASession interface adds properties to a javax.jms.XASession.

    WebSphere classes for JMS exposes its Java Transaction Service support via the JmsXAConnectionFactory, JmsXAConnection, and JmsXASession interfaces. These classes are provided for use in the J2EE application server environment.

    A JmsXASession can be used to create JmsMessageProducer, JmsMessageConsumer and JmsQueueBrowser objects. It is also a factory class for producing the various types of javax.jms.Message object.

    The XAResource that corresponds to the XASession can be obtained by calling the getXAResource method.

    Note: Although this class extends a class which implements the Serializable Interface, it is not itself Serializable.

    See Also:
    XASession, Session, JmsSession
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.