public interface TemporaryTopic extends Topic
TemporaryTopicobject is a unique
Topicobject created for the duration of a
Connection. It is a system-defined topic that can be consumed only by the
Connectionthat created it.
TemporaryTopic object can be created either at the
TopicSession level. Creating
it at the
Session level allows the
TemporaryTopic to participate in the same transaction with objects
from the PTP domain. If a
TemporaryTopic is created at the
TopicSession, it will only be able
participate in transactions with objects from the Pub/Sub domain.
|Modifier and Type||Method and Description|
Deletes this temporary topic.
void delete() throws JMSException
JMSExceptionwill be thrown.
JMSException- if the Jakarta Messaging provider fails to delete the temporary topic due to some internal error.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.