activemq-cpp-3.4.0

cms::TemporaryQueue Class Reference

Defines a Temporary Queue based Destination. More...

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

Inheritance diagram for cms::TemporaryQueue:

Public Member Functions

virtual ~TemporaryQueue () throw ()
virtual std::string getQueueName () const =0
 Gets the name of this queue.
virtual void destroy ()=0
 Destroy's the Temporary Destination at the Provider.

Detailed Description

Defines a Temporary Queue based Destination.

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

A TemporaryQueue 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::TemporaryQueue::~TemporaryQueue ( ) throw () [virtual]

Member Function Documentation

virtual void cms::TemporaryQueue::destroy ( ) [pure virtual]

Destroy's the Temporary Destination at the Provider.

Exceptions:
CMSException- if an internal error occurs.

Implemented in activemq::commands::ActiveMQTempQueue.

virtual std::string cms::TemporaryQueue::getQueueName ( ) const [pure virtual]

Gets the name of this queue.

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

Implemented in activemq::commands::ActiveMQTempQueue.


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