Name

XASession

Synopsis

An XASession is a Session with a provider that support transactional messaging according to the X/Open XA protocol for transactional processing. The XASession contains a javax.transaction.xa.XAResource object that represents the association of the Session with a transaction context.

                  Returned By
public interface XASession extends javax.jms.Session {
// Public Instance Methods
   public abstract void commit() throws JMSException;  
   public abstract boolean getTransacted(
        ) throws JMSException;  
   public abstract javax.transaction.xa.XAResource getXAResource(
        );  
   public abstract void rollback() throws JMSException;  
}

Implementations

XAQueueSession, XATopicSession

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.