Name
TemporaryTopic
Synopsis
A TemporaryTopic
is a
Topic
that is created and used via a particular
connection, and only that connection can consume messages from a
TemporaryTopic
that it creates.
TemporaryTopics
are typically used when issuing
messages with a JMSReplyTo
header -- a
TemporaryTopic
can be used as the value of the
JMSReplyTo
, avoiding the need for a pre-defined
Topic
to be created on the JMS server.
public interface TemporaryTopic extends Topic { // Public Instance Methods public abstract void delete() throws JMSException; }
Returned By
TopicSession.createTemporaryTopic()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.