Consultor Eletrônico



Kbase 21200: SonicMQ Javadoc for Package progress.message.jclient.xa
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/20/2002
SUMMARY:

This Knowledge Base Solution applies to SonicMQ Version 3.5. In this release, documentation for the package progress.message.jclient.xa was omitted from the API Reference.

EXPLANATION:

The methods for classes and interfaces defined in package
progress.message.jclient.xa are identical to the javax.jms.XA[...]
interfaces (which are documented in the SonicMQ 3.5 API Reference),
except for the additional methods:

XAQueueConnection.getQueueConnection()
XAQueueConnection.getTopicConnection()

We have also provided constructors for XAQueueConnectionFactory and
XATopicConnectionFactory, similar to those for the corresponding non-
XA classes.

Documentation on each of these constructors and methods follows.

public class XAQueueConnectionFactory
implements javax.jms.XAQueueConnectionFactory

Constructors:

public XAQueueConnectionFactory(java.lang.String brokerURL)
throws javax.jms.JMSException

public XAQueueConnectionFactory(java.lang.String brokerURL,
java.lang.String connectID,
java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException


public class XATopicConnectionFactory
implements javax.jms.XATopicConnectionFactory

Constructors:

public XATopicConnectionFactory(java.lang.String brokerURL)
throws javax.jms.JMSException

public XATopicConnectionFactory(java.lang.String brokerURL,
java.lang.String connectID,
java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException


public interface XAQueueConnection
extends javax.jms.XAQueueConnection

Method:

XAQueueConnection.getQueueConnection()

Get a QueueConnection associated with this XAQueueConnection object.
There is one QueueConnection per XAQueueConnection at any time. If the
QueueConnection was closed, this method creates another QueueConnection.

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


public interface XATopicConnection
extends javax.jms.XAQueueConnection

Method:

XATopicConnection.getTopicConnection()

Get a TopicConnection associated with this XATopicConnection object.
There is one TopicConnection per XATopicConnection at any time. If the
TopicConnection was closed, this method creates anotherTopicConnection.

Returns:
a TopicConnection.

Throws:
javax.jms.JMSException - if JMS implementation fails to get the
TopicConnection due to internal error.


References to Written Documentation:

SonicMQ API Reference
SonicMQ Programming Guide
Chapter 10, Distributed Transactions Using XA Resources