com.ibm.mq.jms
Class MQQueueConnectionFactory
java.lang.Object
|
+--com.ibm.mq.jms.MQConnectionFactory
|
+--com.ibm.mq.jms.MQQueueConnectionFactory
- All Implemented Interfaces:
- javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable
- Direct Known Subclasses:
- MQXAQueueConnectionFactory
- public class MQQueueConnectionFactory
- extends MQConnectionFactory
- implements javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable
A client uses an MQQueueConnectionFactory to create QueueConnections with a JMS point-to-point provider.
- See Also:
ConnectionFactory
,
XAQueueConnectionFactory
,
Serialized Form
Method Summary |
javax.jms.QueueConnection |
createQueueConnection()
Creates a queue connection with default user identity. |
javax.jms.QueueConnection |
createQueueConnection(java.lang.String userName,
java.lang.String password)
Creates a 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, setTransportType, setUseConnectionPooling |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
MQQueueConnectionFactory
public MQQueueConnectionFactory()
- This is the default constructor.
createQueueConnection
public javax.jms.QueueConnection createQueueConnection()
throws javax.jms.JMSException
- Creates a queue connection with default user identity.
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
- Returns:
- a newly created queue connection.
- Throws:
javax.jms.JMSException
- if JMS Provider fails to create Queue Connection
due to some internal error.
required resources for a Queue Connection.
javax.jms.JMSSecurityException
- if client authentication fails due to
invalid user name or password.
createQueueConnection
public javax.jms.QueueConnection createQueueConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
- Creates a queue connection with specified user identity.
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
- Parameters:
userName
- the caller's user namepassword
- the caller's password
- Returns:
- a newly created queue connection.
- Throws:
javax.jms.JMSException
- if JMS Provider fails to create an MQQueueConnection
due to an internal error.
javax.jms.JMSSecurityException
- if client authentication fails due to
an invalid user name or password.