ATemporaryTopic
object is a uniqueTopic
object created for the duration of aTopicConnection
. It is a system-defined topic that can be consumed only by theTopicConnection
that created it.
TopicSession.createTemporaryTopic()
delete() Deletes this temporary topic. |
Methods inherited from interface javax.jms.Topic |
getTopicName,toString |
public voiddelete() throwsJMSException
JMSException
will be thrown.JMSException
- if the JMS provider fails to delete the temporary topic due to some internal error.