javax.jms
Interface TemporaryTopic


public interface TemporaryTopic
extends Topic

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

See Also:
TopicSession.createTemporaryTopic()

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

Method Detail

delete

public void delete()
            throws JMSException
Delete this temporary topic. If there are still existing publishers or subscribers still using it, then a JMSException will be thrown.
Throws:
JMSException - if JMS implementation fails to delete a Temporary queue due to some internal error.