public class MQXAConnectionFactory extends MQConnectionFactory implements JmsXAConnectionFactory, javax.jms.XAConnectionFactory
WebSphere MQ JMS exposes its JTS support in the MQXAConnectionFactory, MQXAConnection, and MQXASession classes. These classes are provided for use in a J2EE application server environment.
MQConnectionFactory.ConnectionFactoryProperty| Constructor and Description |
|---|
MQXAConnectionFactory()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.jms.XAConnection |
createXAConnection()
Creates an XA connection with the default user identity.
|
javax.jms.XAConnection |
createXAConnection(java.lang.String userid,
java.lang.String password)
Creates an XA connection with the specified user identity.
|
javax.jms.XAJMSContext |
createXAContext() |
javax.jms.XAJMSContext |
createXAContext(java.lang.String userName,
java.lang.String password) |
createConnection, createConnection, getAppName, getAsyncExceptions, getBrokerCCSubQueue, getBrokerControlQueue, getBrokerPubQueue, getBrokerQueueManager, getBrokerSubQueue, getBrokerVersion, getCCDTURL, getCCSID, getChannel, getCleanupInterval, getCleanupLevel, getClientId, getClientID, getClientReconnectOptions, getClientReconnectTimeout, getConnectionNameList, getConnTag, getDescription, getDirectAuth, getFailIfQuiesce, getHdrCompList, getHostName, getLocalAddress, getMapNameStyle, getMaxBufferSize, getMessageRetention, getMessageSelection, getMQConnectionOptions, getMsgBatchSize, getMsgCompList, getMulticast, getPollingInterval, getPort, getProviderVersion, getProxyHostName, getProxyPort, getPubAckInterval, getQueueManager, getReceiveExit, getReceiveExitInit, getReference, getRescanInterval, getSecurityExit, getSecurityExitInit, getSendCheckCount, getSendExit, getSendExitInit, getShareConvAllowed, getSparseSubscriptions, getSSLCertStores, getSSLCertStoresAsString, getSSLCipherSuite, getSSLFipsRequired, getSSLPeerName, getSSLResetCount, getSSLSocketFactory, getStatusRefreshInterval, getSubscriptionStore, getSyncpointAllGets, getTargetClientMatching, getTemporaryModel, getTempQPrefix, getTempTopicPrefix, getTransportType, getUseConnectionPooling, getVersion, getWildcardFormat, setAppName, setAsyncExceptions, setBrokerCCSubQueue, setBrokerControlQueue, setBrokerPubQueue, setBrokerQueueManager, setBrokerSubQueue, setBrokerVersion, setCCDTURL, setCCSID, setChannel, setCleanupInterval, setCleanupLevel, setClientId, setClientID, setClientReconnectOptions, setClientReconnectTimeout, setConnectionNameList, setConnTag, setDescription, setDirectAuth, setFailIfQuiesce, setHdrCompList, setHostName, setLocalAddress, setMapNameStyle, setMaxBufferSize, setMessageRetention, setMessageSelection, setMQConnectionOptions, setMsgBatchSize, setMsgCompList, setMulticast, setPollingInterval, setPort, setProviderVersion, setProxyHostName, setProxyPort, setPubAckInterval, setQueueManager, setReceiveExit, setReceiveExitInit, setRescanInterval, setSecurityExit, setSecurityExitInit, setSendCheckCount, setSendExit, setSendExitInit, setShareConvAllowed, setSparseSubscriptions, setSSLCertStores, setSSLCertStores, setSSLCipherSuite, setSSLFipsRequired, setSSLPeerName, setSSLResetCount, setSSLSocketFactory, setStatusRefreshInterval, setSubscriptionStore, setSyncpointAllGets, setTargetClientMatching, setTemporaryModel, setTempQPrefix, setTempTopicPrefix, setTransportType, setUseConnectionPooling, setWildcardFormatcreateContext, createContext, createContext, createContext, equals, hashCodeclear, containsKey, containsValue, entrySet, get, getObjectProperty, isEmpty, keySet, propertyExists, put, putAll, remove, setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setProviderPropertyContext, setShortProperty, setStringProperty, size, valuesdump, getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getPropertyNames, getShortProperty, getStringProperty, toStringsetBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringPropertygetBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExistspublic javax.jms.XAConnection createXAConnection()
throws javax.jms.JMSException
createXAConnection in interface javax.jms.XAConnectionFactoryjavax.jms.JMSException - if the JMS provider fails to create an XA connection due to some internal
error.javax.jms.JMSSecurityException - if client authentication fails due to invalid user name or
password.XAConnectionFactory.createXAConnection()public javax.jms.XAConnection createXAConnection(java.lang.String userid,
java.lang.String password)
throws javax.jms.JMSException
createXAConnection in interface javax.jms.XAConnectionFactoryuserid - the user name of the caller.password - the password of the caller.javax.jms.JMSException - if JMS fails to create an XA connection because of an internal JMS error.javax.jms.JMSSecurityException - if client authentication fails because the user name or password
is not valid.XAConnectionFactory.createXAConnection(java.lang.String, java.lang.String)public javax.jms.XAJMSContext createXAContext()
throws javax.jms.JMSRuntimeException,
javax.jms.JMSSecurityRuntimeException
createXAContext in interface javax.jms.XAConnectionFactoryjavax.jms.JMSRuntimeExceptionjavax.jms.JMSSecurityRuntimeExceptionXAConnectionFactory.createXAContext()public javax.jms.XAJMSContext createXAContext(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSRuntimeException,
javax.jms.JMSSecurityRuntimeException
createXAContext in interface javax.jms.XAConnectionFactoryjavax.jms.JMSRuntimeExceptionjavax.jms.JMSSecurityRuntimeExceptionXAConnectionFactory.createXAContext(java.lang.String, java.lang.String)