com.ibm.mq.jms
Class MQXATopicConnectionFactory

java.lang.Object
  |
  +--com.ibm.mq.jms.MQConnectionFactory
        |
        +--com.ibm.mq.jms.MQTopicConnectionFactory
              |
              +--com.ibm.mq.jms.MQXATopicConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.naming.Referenceable, java.io.Serializable, javax.jms.TopicConnectionFactory, javax.jms.XAConnectionFactory, javax.jms.XATopicConnectionFactory

public class MQXATopicConnectionFactory
extends MQTopicConnectionFactory
implements javax.jms.XATopicConnectionFactory

An MQXATopicConnectionFactory provides the same creation options as MQTopicConnectionFactory.

See Also:
MQTopicConnectionFactory, MQXAConnectionFactory, Serialized Form

Field Summary
     
Constructor Summary
MQXATopicConnectionFactory()
          Default constructor.
 
Method Summary
 javax.jms.XATopicConnection createXATopicConnection()
          Creates an XA topic connection with the default user identity.
 javax.jms.XATopicConnection createXATopicConnection(java.lang.String userName, java.lang.String password)
          Creates an XA topic connection using the specified user identity.
 
Methods inherited from class com.ibm.mq.jms.MQTopicConnectionFactory
createTopicConnection, createTopicConnection
 
Methods inherited from class com.ibm.mq.jms.MQConnectionFactory
getBrokerCCSubQueue, getBrokerControlQueue, getBrokerPubQueue, getBrokerQueueManager, getBrokerSubQueue, getBrokerVersion, getCCDTURL, getCCSID, getChannel, getCleanupInterval, getCleanupLevel, getClientId, getClientID, getCloneSupport, getConnTag, getDescription, getDirectAuth, getFailIfQuiesce, getHdrCompList, getHostName, getLocalAddress, getMapNameStyle, getMessageSelection, getMQConnectionOptions, getMsgBatchSize, getMsgCompList, getMulticast, getOptimisticPublication, getPollingInterval, getPort, getProxyHostName, getProxyPort, getPubAckInterval, getQueueManager, getReceiveExit, getReceiveExitInit, getRescanInterval, getSecurityExit, getSecurityExitInit, getSendExit, getSendExitInit, getSparseSubscriptions, getSSLCertStores, getSSLCertStoresAsString, getSSLCipherSuite, getSSLFipsRequired, getSSLPeerName, getSSLResetCount, getSSLSocketFactory, getStatusRefreshInterval, getSubscriptionStore, getSyncpointAllGets, getTargetClientMatching, getTransportType, getUseConnectionPooling, getVersion, setBrokerCCSubQueue, setBrokerControlQueue, setBrokerPubQueue, setBrokerQueueManager, setBrokerSubQueue, setBrokerVersion, setCCDTURL, setCCSID, setChannel, setCleanupInterval, setCleanupLevel, setClientId, setClientID, setCloneSupport, setConnTag, setDescription, setDirectAuth, setFailIfQuiesce, setHdrCompList, setHostName, setLocalAddress, setMapNameStyle, setMessageSelection, setMQConnectionOptions, setMsgBatchSize, setMsgCompList, setMulticast, setOptimisticPublication, setPollingInterval, setPort, setProxyHostName, setProxyPort, setPubAckInterval, setQueueManager, setReceiveExit, setReceiveExitInit, setRescanInterval, setSecurityExit, setSecurityExitInit, setSendExit, setSendExitInit, setSparseSubscriptions, setSSLCertStores, setSSLCertStores, setSSLCipherSuite, setSSLFipsRequired, setSSLPeerName, setSSLResetCount, setSSLSocketFactory, setStatusRefreshInterval, setSubscriptionStore, setSyncpointAllGets, setTargetClientMatching, setUseConnectionPooling
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.TopicConnectionFactory
createTopicConnection, createTopicConnection
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 

Constructor Detail

MQXATopicConnectionFactory

public MQXATopicConnectionFactory()
Default constructor.

Method Detail

createXATopicConnection

public javax.jms.XATopicConnection createXATopicConnection()
                                                    throws javax.jms.JMSException
Creates an XA topic connection with the default user identity.

Specified by:
createXATopicConnection in interface javax.jms.XATopicConnectionFactory
Returns:
a newly created XA topic connection.
Throws:
javax.jms.JMSException - if JMS Provider fails to create XA topic connection due to some internal error.
javax.jms.JMSSecurityException - if client authentication fails due to invalid user name or password.

createXATopicConnection

public javax.jms.XATopicConnection createXATopicConnection(java.lang.String userName,
                                                           java.lang.String password)
                                                    throws javax.jms.JMSException
Creates an XA topic connection using the specified user identity. The connection is created in stopped mode. No messages are delivered until the Connection.start method is called explicitly.

Specified by:
createXATopicConnection in interface javax.jms.XATopicConnectionFactory
Parameters:
userName - the user name of the caller
password - the password of the caller
Returns:
A newly-created XA topic connection.
Throws:
javax.jms.JMSException - if the JMS provider fails to create an XA topic connection because of an internal error.
javax.jms.JMSSecurityException - if client authentication fails because a user name or password is not valid.

(c) Copyright IBM Corp. 2005. All Rights Reserved.