activemq-cpp-3.4.0

cms::Queue Class Reference

An interface encapsulating a provider-specific queue name. More...

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

Inheritance diagram for cms::Queue:

Public Member Functions

virtual ~Queue () throw ()
virtual std::string getQueueName () const =0
 Gets the name of this queue.

Detailed Description

An interface encapsulating a provider-specific queue name.

Messages sent to a Queue are sent to a Single Subscriber on that Queue Destination. This allows for Queues to be used as load balances implementing a SEDA based architecture. The length of time that a Provider will store a Message in a Queue is not defined by the CMS API, consult your Provider documentation for this information.

Since:
1.0

Constructor & Destructor Documentation

virtual cms::Queue::~Queue ( ) throw () [virtual]

Member Function Documentation

virtual std::string cms::Queue::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::ActiveMQQueue.


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