WebSphere MQ class: MQQueueConnectionFactory
java.lang.Object
|
+----com.ibm.mq.jms.MQConnectionFactory
|
+----com.ibm.mq.jms.MQQueueConnectionFactory
|
A client uses a QueueConnectionFactory to create QueueConnections with a JMS point-to-point provider.
See also: ConnectionFactory and XAQueueConnectionFactory
public MQQueueConnectionFactory()
public QueueConnection createQueueConnection()
throws JMSException
Create a queue connection with default user identity. The connection is created in stopped mode. No messages will be delivered until Connection.start method is explicitly called.
public QueueConnection createQueueConnection
(java.lang.String userName,
java.lang.String password)
throws JMSException
Create a queue connection with specified user identity.
public int getMessageRetention()
Get method for messageRetention attribute.
public Reference getReference() throws NamingException
Create a reference for this queue connection factory .
public String getTemporaryModel()
public void setMessageRetention(int x) throws JMSException
Set method for messageRetention attribute.
public void setTemporaryModel(String x) throws JMSException