activemq-cpp-3.4.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 () 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.

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 ( ) throw () [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.

virtual std::string cms::TemporaryTopic::getTopicName ( ) const [pure virtual]

Gets the name of this topic.

Returns:
The topic name.
Exceptions:
CMSException- if an internal error occurs.

Implemented in activemq::commands::ActiveMQTempTopic.


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