progress.message.jclient.xa
Interface XATopicConnection
- All Superinterfaces:
- Connection, TopicConnection, XAConnection, XATopicConnection
public interface XATopicConnection
- extends XAConnection, XATopicConnection, TopicConnection
An XATopicConnection provides the same create options as TopicConnection (optional).
The only difference is that an XAConnection is by definition transacted.
- Version:
- 1.0 - 27 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 |
createXATopicSession
XATopicSession createXATopicSession(java.lang.String sessionName)
throws JMSException
- Creates an
XATopicSession
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
XATopicSession
- Throws:
JMSException
- if the XATopicConnection
object
fails to create an XATopicSession
due to
some internal error.- See Also:
Session.getSessionName()
getTopicConnection
TopicConnection getTopicConnection()
throws JMSException
- get a TopicConnection associated with this XATopicConnection object.
There is one TopicConnection per XATopicConnection at any time.
If the TopicConnection was closed, this method create another TopicConnection.
- Returns:
- a TopicConnection.
- Throws:
JMSException
- if JMS implementation fails to get the
TopicConnection due to internal error.
Copyright © 1999-2012 Progress Software Corporation. All Rights Reserved.
HTML formatted on 13-March-2012.