SonicMQ API

progress.message.jclient.xa
Interface XAQueueConnection

All Superinterfaces:
Connection, QueueConnection, XAConnection, XAQueueConnection

public interface XAQueueConnection
extends XAConnection, XAQueueConnection, QueueConnection

XAQueueConnection provides the same create options as QueueConnection (optional). The only difference is that an XAConnection is by definition transacted.

Version:
1.0 - 20 November 2000
Author:
Kathy Guo
See Also:
XAConnection

Method Summary
 XAQueueSession createXAQueueSession(java.lang.String sessionName)
          Creates an XAQueueSession object with an associated name.
 QueueConnection getQueueConnection()
          Get a QueueConnection associated with this XAQueueConnection object.
 
Methods inherited from interface progress.message.jclient.xa.XAConnection
close, createXASession, getConnection
 
Methods inherited from interface javax.jms.XAConnection
createSession, createXASession
 
Methods inherited from interface javax.jms.Connection
createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface progress.message.jclient.Connection
createSession, getBrokerReconnectURLs, getBrokerURL, getChannel, getConnectID, getConnectionState, getConnectionStateChangeListener, getRoutingNodeName, getStandbyBrokerReconnectURLs, getUnfinishedChannelIDs, getUnfinishedChannels, getUsername, hasUnfinishedChannel, hasUnfinishedChannels, isFaultTolerant, isSecure, setConnectionStateChangeListener, setPingInterval, setRejectionListener
 
Methods inherited from interface javax.jms.Connection
createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.XAQueueConnection
createQueueSession, createXAQueueSession
 
Methods inherited from interface javax.jms.XAConnection
createSession, createXASession
 
Methods inherited from interface javax.jms.Connection
createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer
 
Methods inherited from interface javax.jms.Connection
createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface progress.message.jclient.QueueConnection
createQueueSession
 
Methods inherited from interface progress.message.jclient.Connection
createSession, getBrokerReconnectURLs, getBrokerURL, getChannel, getConnectID, getConnectionState, getConnectionStateChangeListener, getRoutingNodeName, getStandbyBrokerReconnectURLs, getUnfinishedChannelIDs, getUnfinishedChannels, getUsername, hasUnfinishedChannel, hasUnfinishedChannels, isFaultTolerant, isSecure, setConnectionStateChangeListener, setPingInterval, setRejectionListener
 
Methods inherited from interface javax.jms.Connection
createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer
 
Methods inherited from interface javax.jms.Connection
createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 

Method Detail

createXAQueueSession

XAQueueSession createXAQueueSession(java.lang.String sessionName)
                                    throws JMSException
Creates an XAQueueSession object with an associated name.

Parameters:
sessionName - provides a name for the session; this is an informational label to help administrators identify the session, particularly in the Sonic management tools
Returns:
a newly created XAQueueSession
Throws:
JMSException - if the XAQueueConnection object fails to create an XAQueueSession due to some internal error.
See Also:
Session.getSessionName()

getQueueConnection

QueueConnection getQueueConnection()
                                   throws JMSException
Get a QueueConnection associated with this XAQueueConnection object. There is one QueueConnection per XAQueueConnection at any time. If the QueueConnection was closed, this method create another QueueConnection.

Returns:
a QueueConnection.
Throws:
JMSException - if JMS implementation fails to get the QueueConnection due to internal error.

SonicMQ API

Copyright © 1999-2011 Progress Software Corporation. All Rights Reserved.
HTML formatted on 5-August-2011.