public class MQTopic extends MQDestination implements javax.jms.Topic, JmsTopic, javax.naming.Referenceable, java.io.Serializable
DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC| Constructor and Description |
|---|
MQTopic()
Creates a new MQTopic object.
|
MQTopic(java.lang.String topicName)
Creates an MQTopic object from a uniform resource identifier (URI) formatted topic name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBrokerCCDurSubQueue()
Gets the brokerCCDurSubQueue attribute.
|
java.lang.String |
getBrokerDurSubQueue()
Gets the brokerDurSubQueue attribute.
|
java.lang.String |
getBrokerPubQueue()
Gets the broker's publish queue name.
|
java.lang.String |
getBrokerPubQueueManager()
Gets the brokerQueueManager attribute.
|
int |
getBrokerVersion()
Gets the broker version.
|
int |
getMulticast() |
java.lang.String |
getTopicName() |
java.lang.String |
getTopicURI()
Gets the URI of this topic.
|
void |
setBrokerCCDurSubQueue(java.lang.String queueName)
Sets the name of the subscriber queue for consumers, using a durable connection to the broker.
|
void |
setBrokerDurSubQueue(java.lang.String queueName)
Sets the brokerDurSubQueue attribute.
|
void |
setBrokerPubQueue(java.lang.String queueName)
Sets the broker publish queue attribute.
|
void |
setBrokerPubQueueManager(java.lang.String queueManagerName)
Sets the broker's queue manager.
|
void |
setBrokerVersion(int version)
Sets the broker version.
|
void |
setMulticast(int multicastMode)
Sets the value of the multicast attribute.
|
java.lang.String |
toString()
toString returns the topic name
|
getCCSID, getDescription, getEncoding, getExpiry, getFailIfQuiesce, getMessageBodyStyle, getMQMDMessageContext, getMQMDReadEnabled, getMQMDWriteEnabled, getPersistence, getPriority, getProperty, getPutAsyncAllowed, getReadAheadAllowed, getReadAheadClosePolicy, getReceiveCCSID, getReceiveConversion, getReference, getReplyToStyle, getStringFromDestination, getTargetClient, getUnmappableAction, getUnmappableReplacement, getWildcardFormat, setCCSID, setDescription, setEncoding, setExpiry, setFailIfQuiesce, setMessageBodyStyle, setMQMDMessageContext, setMQMDReadEnabled, setMQMDWriteEnabled, setPersistence, setPriority, setProperty, setPutAsyncAllowed, setReadAheadAllowed, setReadAheadClosePolicy, setReceiveCCSID, setReceiveConversion, setReplyToStyle, setTargetClient, setUnmappableAction, setUnmappableReplacement, setWildcardFormatequals, getQueueName, hashCode, setStringPropertyclear, containsKey, containsValue, entrySet, get, getObjectProperty, isEmpty, keySet, propertyExists, put, putAll, remove, setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setProviderPropertyContext, setShortProperty, size, valuesdump, getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getPropertyNames, getShortProperty, getStringPropertysetBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringPropertygetBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExistspublic MQTopic()
public MQTopic(java.lang.String topicName)
throws javax.jms.JMSException
topicName - URI formatted topic namejavax.jms.JMSException - if the name is invalidpublic java.lang.String getBrokerCCDurSubQueue()
public java.lang.String getBrokerDurSubQueue()
public java.lang.String getBrokerPubQueue()
public java.lang.String getBrokerPubQueueManager()
public int getBrokerVersion()
public int getMulticast()
public java.lang.String getTopicURI()
Clients that depend upon the URI are not portable.
public java.lang.String getTopicName()
getTopicName in interface javax.jms.TopicgetTopicName in class com.ibm.msg.client.jms.admin.JmsDestinationImplJmsDestinationImpl.getTopicName()public void setBrokerCCDurSubQueue(java.lang.String queueName)
throws javax.jms.JMSException
queueName - the name of the queuejavax.jms.JMSException - if name is either null or not validpublic void setBrokerDurSubQueue(java.lang.String queueName)
throws javax.jms.JMSException
queueName - the name of the broker durable subscriber queuejavax.jms.JMSExceptionpublic void setBrokerPubQueue(java.lang.String queueName)
throws javax.jms.JMSException
queueName - the name of the broker publish/subscribe queue. This string is trimmed to
remove leading and trailing whitespace. If this string is empty following the trim
operation, then the method behaves as if the supplied argument was null.javax.jms.JMSException - if the operation fails because of some internal error.public void setBrokerPubQueueManager(java.lang.String queueManagerName)
throws javax.jms.JMSException
queueManagerName - the name of the broker's queue manager to publish on.javax.jms.JMSException - if the command failed due to an internal error.public void setBrokerVersion(int version)
throws javax.jms.JMSException
version - the version number. Valid numbers are:
javax.jms.JMSException - if version is neither of the above.public void setMulticast(int multicastMode)
throws javax.jms.JMSException
multicastMode - javax.jms.JMSExceptionpublic java.lang.String toString()
toString in interface javax.jms.TopictoString in class com.ibm.msg.client.jms.admin.JmsDestinationImpl