activemq-cpp-3.6.0
cms::TemporaryTopic Class Reference

Defines a Temporary Topic based Destination. More...

#include <src/main/cms/TemporaryTopic.h>

Inheritance diagram for cms::TemporaryTopic:

Public Member Functions

virtual ~TemporaryTopic ()
virtual void destroy ()=0
 Destroy's the Temporary Destination at the Provider.
- Public Member Functions inherited from cms::Topic
virtual ~Topic ()
virtual std::string getTopicName () const =0
 Gets the name of this topic.
- Public Member Functions inherited from cms::Destination
virtual ~Destination ()
virtual DestinationType getDestinationType () const =0
 Retrieve the Destination Type for this Destination.
virtual cms::Destinationclone () const =0
 Creates a new instance of this destination type that is a copy of this one, and returns it.
virtual void copy (const cms::Destination &source)=0
 Copies the contents of the given Destination object to this one.
virtual bool equals (const cms::Destination &other) const =0
 Compares two Destination instances to determine if they represent the same logic Destination.
virtual const CMSPropertiesgetCMSProperties () const =0
 Retrieve any properties that might be part of the destination that was specified.

Additional Inherited Members

- Public Types inherited from cms::Destination
enum  DestinationType { TOPIC, QUEUE, TEMPORARY_TOPIC, TEMPORARY_QUEUE }

Detailed Description

Defines a Temporary Topic based Destination.

A TemporaryTopic is a special type of Topic Destination that can only be consumed from the Connection which created it. TemporaryTopics are most commonly used as the reply to address for Message's that implement the request response pattern.

A TemporaryTopic is guaranteed to exist at the Provider only for the lifetime of the Connection that created it.

Since
1.0

Constructor & Destructor Documentation

virtual cms::TemporaryTopic::~TemporaryTopic ( )
virtual

Member Function Documentation

virtual void cms::TemporaryTopic::destroy ( )
pure virtual

Destroy's the Temporary Destination at the Provider.

Exceptions
CMSException

Implemented in activemq::commands::ActiveMQTempTopic.


The documentation for this class was generated from the following file: