WebSphere MQ class: MQTopic
java.lang.Object | +----com.ibm.mq.jms.MQDestination | +----com.ibm.mq.jms.MQTopic |
A Topic object encapsulates a provider-specific topic name. It is the way a client specifies the identity of a topic to JMS methods.
WebSphere MQ Event Broker note |
---|
For direct connections to WebSphere MQ Event Broker, properties accessed by methods marked with a "§" are ignored. |
See also: Destination
public MQTopic()
public MQTopic(string URItopic)
See TopicSession.createTopic.
public String getBaseTopicName()
get method for the underlying WebSphere MQ topic name.
public String getBrokerCCDurSubQueue()
Get method for brokerCCDurSubQueue attribute.
public String getBrokerDurSubQueue()
Get method for brokerDurSubQueue attribute.
public Reference getReference()
Create a reference for this topic.
public java.lang.String getTopicName() throws JMSException
Get the name of this topic in URI format. (URI format is described in Creating topics at runtime.)
public void setBaseTopicName(String x)
set method for the underlying WebSphere MQ topic name.
public void setBrokerCCDurSubQueue(String x) throws JMSException
Set method for brokerCCDurSubQueue attribute.
public void setBrokerDurSubQueue(String x) throws JMSException
Set method for brokerDurSubQueue attribute.
public String toString()
Return a pretty printed version of the Topic name.