org.objectweb.joram.client.jms
Class XAConnection
- javax.jms.Connection, javax.jms.XAConnection
public class XAConnection
implements javax.jms.XAConnection
Connection used within global transactions; an instance of this class
acts as a resource manager.
close , createConnectionConsumer , createDurableConnectionConsumer , createSession , equals , getClientID , getExceptionListener , getMetaData , setClientID , setExceptionListener , start , stop , toString |
XAConnection
public XAConnection(FactoryParameters factoryParameters,
ConnectionItf connectionImpl)
throws JMSException
Creates a XAConnection
instance.
factoryParameters
- The factory parameters.connectionImpl
- The actual connection to wrap.
createSession
public javax.jms.Session createSession(boolean transacted,
int acknowledgeMode)
throws JMSException
Creates a non-XA session.
- createSession in interface Connection
createXASession
public javax.jms.XASession createXASession()
throws JMSException
Creates a XA session.
getXAResourceMngr
public XAResourceMngr getXAResourceMngr()
return XAResourceMngr of this connection.
see connector
Copyright B) 2004 Scalagent - All rights reserved