activemq-cpp-3.6.0
|
Resolves a CMS destination name to a Destination
.
More...
#include <src/main/activemq/cmsutil/DestinationResolver.h>
Public Member Functions | |
virtual | ~DestinationResolver () |
virtual void | init (ResourceLifecycleManager *mgr)=0 |
Initializes this destination resolver for use. | |
virtual void | destroy ()=0 |
Destroys any allocated resources. | |
virtual cms::Destination * | resolveDestinationName (cms::Session *session, const std::string &destName, bool pubSubDomain)=0 |
Resolves the given name to a destination. |
Resolves a CMS destination name to a Destination
.
|
virtual |
|
pure virtual |
Destroys any allocated resources.
Implemented in activemq::cmsutil::DynamicDestinationResolver.
|
pure virtual |
Initializes this destination resolver for use.
Ensures that any previously allocated resources are first destroyed (e.g. calls destroy()).
mgr | the resource lifecycle manager. |
Implemented in activemq::cmsutil::DynamicDestinationResolver.
|
pure virtual |
Resolves the given name to a destination.
If pubSubDomain
is true, a topic will be returned, otherwise a queue will be returned.
session | the session for which to retrieve resolve the destination. |
destName | the name to be resolved. |
pubSubDomain | If true, the name will be resolved to a Topic, otherwise a Queue. |
cms::CMSException | if resolution failed. |
Implemented in activemq::cmsutil::DynamicDestinationResolver.