|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mq.jms.MQDestination | +--com.ibm.mq.jms.MQTopic
An MQTopic object encapsulates a provider-specific topic name.
Field Summary |
Method Summary | |
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()
Gets the value of the multicast attribute. |
java.lang.String |
getTopicName()
Gets the name of this Topic. |
boolean |
isTemporary()
|
void |
setBrokerCCDurSubQueue(java.lang.String name)
Sets the name of the subscriber queue for consumers, using a durable connection to the broker. |
void |
setBrokerDurSubQueue(java.lang.String x)
Sets the brokerDurSubQueue attribute |
void |
setBrokerPubQueue(java.lang.String brokerPubQueue)
Set method for broker publish queue attribute. |
void |
setBrokerPubQueueManager(java.lang.String brokerPubQueueManager)
Sets the broker's queue manager. |
void |
setBrokerVersion(int brkver)
Sets the broker version. |
void |
setMulticast(int multicastMode)
Sets the value of the multicast attribute. |
java.lang.String |
toString()
Returns a string representation of the Topic object. |
Methods inherited from class com.ibm.mq.jms.MQDestination |
getCCSID, getDescription, getEncoding, getExpiry, getFailIfQuiesce, getPersistence, getPriority, getProperty, getStringFromDestination, getTargetClient, setCCSID, setDescription, setEncoding, setExpiry, setFailIfQuiesce, setPersistence, setPriority, setProperty, setTargetClient |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getTopicName()
Clients that depend upon the name are not portable.
getTopicName
in interface javax.jms.Topic
public java.lang.String getBrokerDurSubQueue()
public void setBrokerDurSubQueue(java.lang.String x) throws javax.jms.JMSException
x
- the name of the broker durable subscriber queue
javax.jms.JMSException
public java.lang.String getBrokerCCDurSubQueue()
public void setMulticast(int multicastMode) throws javax.jms.JMSException
MQConnectionFactory.setMulticast(int)
.
The default setting is JMSC.MQJMS_MULTICAST_AS_CF
.
multicastMode
- the following values are possible:
javax.jms.JMSException
- if an invalid value is supplied.public int getMulticast()
JMSC.MQJMS_MULTICAST_AS_CF
.
public void setBrokerCCDurSubQueue(java.lang.String name) throws javax.jms.JMSException
name
- the name of the queue.
javax.jms.JMSException
- if name is either null or not valid.public int getBrokerVersion()
public void setBrokerVersion(int brkver) throws javax.jms.JMSException
brkver
- the version number.
Valid numbers are:
javax.jms.JMSException
- if brkver is neither of the above.public java.lang.String toString()
toString
in interface javax.jms.Topic
toString
in class java.lang.Object
public boolean isTemporary()
isTemporary
in interface com.ibm.disthub2.client.Topic
public java.lang.String getBrokerPubQueue()
public void setBrokerPubQueue(java.lang.String brokerPubQueue) throws javax.jms.JMSException
brokerPubQueue
- 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 java.lang.String getBrokerPubQueueManager()
public void setBrokerPubQueueManager(java.lang.String brokerPubQueueManager) throws javax.jms.JMSException
brokerPubQueueManager
- the name of the broker's queue manager to publish on.
javax.jms.JMSException
- if the command failed due to an internal error.
|
(c) Copyright IBM Corp. 2005. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |