com.ibm.mq.jms
Class MQTemporaryTopic

java.lang.Object
  |
  +--com.ibm.mq.jms.MQDestination
        |
        +--com.ibm.mq.jms.MQTopic
              |
              +--com.ibm.mq.jms.MQTemporaryTopic
All Implemented Interfaces:
javax.jms.Destination, JMSDestination, javax.naming.Referenceable, java.io.Serializable, javax.jms.TemporaryTopic, javax.jms.Topic, com.ibm.disthub2.client.Topic

public class MQTemporaryTopic
extends MQTopic
implements javax.jms.TemporaryTopic

An MQTemporaryTopic object is a unique Topic object created for the duration of a Connection.

See Also:
Serialized Form

Field Summary
   
Method Summary
 void delete()
          Deletes this temporary topic.
 
Methods inherited from class com.ibm.mq.jms.MQTopic
getBrokerCCDurSubQueue, getBrokerDurSubQueue, getBrokerPubQueue, getBrokerPubQueueManager, getBrokerVersion, getMulticast, getTopicName, isTemporary, setBrokerCCDurSubQueue, setBrokerDurSubQueue, setBrokerPubQueue, setBrokerPubQueueManager, setBrokerVersion, setMulticast, toString
 
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
 
Methods inherited from interface javax.jms.Topic
getTopicName, toString
 

Method Detail

delete

public void delete()
            throws javax.jms.JMSException
Deletes this temporary topic. If there are existing subscribers still using it, then a JMSException is thrown.

Specified by:
delete in interface javax.jms.TemporaryTopic
Throws:
javax.jms.JMSException - if JMS implementation fails to delete a Temporary topic due to some internal error.

(c) Copyright IBM Corp. 2005. All Rights Reserved.