com.ibm.mq.jms
Class MQXAQueueConnectionFactory
java.lang.Object
|
+--com.ibm.mq.jms.MQConnectionFactory
|
+--com.ibm.mq.jms.MQQueueConnectionFactory
|
+--com.ibm.mq.jms.MQXAQueueConnectionFactory
- All Implemented Interfaces:
- javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable, javax.jms.XAConnectionFactory, javax.jms.XAQueueConnectionFactory
- public class MQXAQueueConnectionFactory
- extends MQQueueConnectionFactory
- implements javax.jms.XAQueueConnectionFactory
An XAQueueConnectionFactory provides the same create options as an
MQQueueConnectionFactory.
- See Also:
MQQueueConnectionFactory
,
MQXAConnectionFactory
,
Serialized Form
Method Summary |
javax.jms.XAQueueConnection |
createXAQueueConnection()
Creates an XA Queue connection with default user identity. |
javax.jms.XAQueueConnection |
createXAQueueConnection(java.lang.String userName,
java.lang.String password)
Creates an XA Queue connection with specified user identity. |
Methods inherited from class com.ibm.mq.jms.MQConnectionFactory |
getCCDTURL, getCCSID, getChannel, getClientId, getClientID, getConnTag, getDescription, getFailIfQuiesce, getHdrCompList, getHostName, getLocalAddress, getMapNameStyle, getMessageRetention, getMQConnectionOptions, getMsgBatchSize, getMsgCompList, getPollingInterval, getPort, getQueueManager, getReceiveExit, getReceiveExitInit, getRescanInterval, getSecurityExit, getSecurityExitInit, getSendExit, getSendExitInit, getSSLCertStores, getSSLCertStoresAsString, getSSLCipherSuite, getSSLFipsRequired, getSSLPeerName, getSSLResetCount, getSSLSocketFactory, getSyncpointAllGets, getTargetClientMatching, getTemporaryModel, getTempQPrefix, getTransportType, getUseConnectionPooling, getVersion, setCCDTURL, setCCSID, setChannel, setClientId, setClientID, setConnTag, setDescription, setFailIfQuiesce, setHdrCompList, setHostName, setLocalAddress, setMapNameStyle, setMessageRetention, setMQConnectionOptions, setMsgBatchSize, setMsgCompList, setPollingInterval, setPort, setQueueManager, setReceiveExit, setReceiveExitInit, setRescanInterval, setSecurityExit, setSecurityExitInit, setSendExit, setSendExitInit, setSSLCertStores, setSSLCertStores, setSSLCipherSuite, setSSLFipsRequired, setSSLPeerName, setSSLResetCount, setSSLSocketFactory, setSyncpointAllGets, setTargetClientMatching, setTemporaryModel, setTempQPrefix, setUseConnectionPooling |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.QueueConnectionFactory |
createQueueConnection, createQueueConnection |
Methods inherited from interface javax.jms.ConnectionFactory |
createConnection, createConnection |
MQXAQueueConnectionFactory
public MQXAQueueConnectionFactory()
- Default constructor.
createXAQueueConnection
public javax.jms.XAQueueConnection createXAQueueConnection()
throws javax.jms.JMSException
- Creates an XA Queue connection with default user identity.
- Specified by:
createXAQueueConnection
in interface javax.jms.XAQueueConnectionFactory
- Returns:
- a newly created XA Queue connection.
- Throws:
javax.jms.JMSException
- if JMS Provider fails to create an XA queue connection
due to an internal error.
javax.jms.JMSSecurityException
- if client authentication fails due to
invalid user name or password.
createXAQueueConnection
public javax.jms.XAQueueConnection createXAQueueConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
- Creates an XA Queue connection with specified user identity.
- Specified by:
createXAQueueConnection
in interface javax.jms.XAQueueConnectionFactory
- Parameters:
userName
- the caller's user namepassword
- the caller's password
- Returns:
- a newly created XA Queue connection.
- Throws:
javax.jms.JMSException
- if JMS Provider fails to create an XA queue connection
due to an internal error.
javax.jms.JMSSecurityException
- if client authentication fails due to
invalid user name or password.