activemq-cpp-3.4.0
|
Defines a Temporary Topic based Destination. More...
#include <src/main/cms/TemporaryTopic.h>
Public Member Functions | |
virtual | ~TemporaryTopic () throw () |
virtual std::string | getTopicName () const =0 |
Gets the name of this topic. | |
virtual void | destroy ()=0 |
Destroy's the Temporary Destination at the Provider. |
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.
virtual cms::TemporaryTopic::~TemporaryTopic | ( | ) | throw () [virtual] |
virtual void cms::TemporaryTopic::destroy | ( | ) | [pure virtual] |
Destroy's the Temporary Destination at the Provider.
CMSException |
Implemented in activemq::commands::ActiveMQTempTopic.
virtual std::string cms::TemporaryTopic::getTopicName | ( | ) | const [pure virtual] |
Gets the name of this topic.
CMSException | - if an internal error occurs. |
Implemented in activemq::commands::ActiveMQTempTopic.