Interface TemporaryTopic

All Superinterfaces:
Destination, Topic

public interface TemporaryTopic
extends Topic

A TemporaryTopic object is a unique Topic object created for the duration of a TopicConnection. It is a system-defined topic that can be consumed only by the TopicConnection that created it.

See Also:

Method Summary
 void delete()
          Deletes this temporary topic.
Methods inherited from interface javax.jms.Topic
getTopicName, toString

Method Detail


public void delete()
            throws JMSException
Deletes this temporary topic. If there are existing subscribers still using it, a JMSException will be thrown.
JMSException - if the JMS provider fails to delete the temporary topic due to some internal error.