WebSphere MQ class: MQTopicConnectionFactory
java.lang.Object | +----com.ibm.mq.jms.MQConnectionFactory | +----com.ibm.mq.jms.MQTopicConnectionFactory |
A client uses a TopicConnectionFactory to create TopicConnections with a JMS Publish/Subscribe provider.
WebSphere MQ Event Broker note |
---|
For direct connections to WebSphere MQ Event Broker, properties accessed by methods marked with a "§" are ignored. |
See also: ConnectionFactory and XATopicConnectionFactory
public MQTopicConnectionFactory()
public TopicConnection createTopicConnection() throws JMSException
Create a topic 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 TopicConnection createTopicConnection (java.lang.String userName, java.lang.String password) throws JMSException
Create a topic connection with specified user identity. The connection is created in stopped mode. No messages will be delivered until Connection.start method is explicitly called.
public String getBrokerCCSubQueue()
Get method for brokerCCSubQueue attribute.
public String getBrokerControlQueue()
Get method for brokerControlQueue attribute.
public String getBrokerPubQueue()
Get method for brokerPubQueue attribute.
public String getBrokerQueueManager()
Get method for brokerQueueManager attribute.
public String getBrokerSubQueue()
Get method for brokerSubQueue attribute.
public int getBrokerVersion()
Get method for brokerVersion attribute.
public long getCleanupInterval()
Get method for cleanupInterval attribute.
public int getCleanupLevel()
Get method for cleanupLevel attribute.
public int getPubAckInterval()
Get method for pubAckInterval attribute.
public Reference getReference()
Return a reference for this topic connection factory.
public int getStatusRefreshInterval()
Get method for statusRefreshInterval attribute.
public int getSubscriptionStore()
Get method for SUBSTORE property.
public void setBrokerCCSubQueue(String x) throws JMSException
Set method for brokerCCSubQueue attribute.
public void setBrokerControlQueue(String x) throws JMSException
Set method for brokerControlQueue attribute.
public void setBrokerPubQueue(String x) throws JMSException
Set method for brokerPubQueue attribute.
public void setBrokerQueueManager(String x) throws JMSException
Set method for brokerQueueManager attribute.
public void setBrokerSubQueue(String x) throws JMSException
Set method for brokerSubQueue attribute.
public void setBrokerVersion(int x) throws JMSException
Set method for brokerVersion attribute.
public void setCleanupInterval(long x) throws JMSException
Set method for cleanupInterval attribute.
public void setCleanupLevel(int x) throws JMSException
Set method for cleanupLevel attribute.
public void setPubAckInterval(int x)
Set method for pubAckInterval attribute.
public void setStatusRefreshInterval(int x)
Set method for statusRefreshInterval attribute.
public void setSubscriptionStore(int x) throws JMSException
Set method for SUBSTORE property.