cms::Queue Class Reference

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

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

Inheritance diagram for cms::Queue:
Inheritance graph
[legend]

Public Member Functions

virtual ~Queue ()
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 (  )  [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, and activemq::commands::ActiveMQTempQueue.


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

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1