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
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 progress.message.jclient.Connection |
createSession, getBrokerReconnectURLs, getBrokerURL, getChannel, getConnectID, getConnectionState, getConnectionStateChangeListener, getRoutingNodeName, getStandbyBrokerReconnectURLs, getUnfinishedChannelIDs, getUnfinishedChannels, getUsername, hasUnfinishedChannel, hasUnfinishedChannels, isFaultTolerant, isSecure, setConnectionStateChangeListener, setPingInterval, setRejectionListener |
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.
Copyright © 1999-2011 Progress Software Corporation. All Rights Reserved.
HTML formatted on 5-August-2011.