|
activemq-cpp-3.9.0
|
Resolves a CMS destination name to a Destination.
More...
#include <src/main/activemq/cmsutil/DynamicDestinationResolver.h>

Public Member Functions | |
| DynamicDestinationResolver () | |
| virtual | ~DynamicDestinationResolver () |
| virtual void | init (ResourceLifecycleManager *mgr) |
| Initializes this destination resolver for use. More... | |
| virtual void | destroy () |
| Destroys any allocated resources. More... | |
| virtual cms::Destination * | resolveDestinationName (cms::Session *session, const std::string &destName, bool pubSubDomain) |
| Resolves the given name to a destination. More... | |
Public Member Functions inherited from activemq::cmsutil::DestinationResolver | |
| virtual | ~DestinationResolver () |
Resolves a CMS destination name to a Destination.
| activemq::cmsutil::DynamicDestinationResolver::DynamicDestinationResolver | ( | ) |
|
virtual |
|
virtual |
Destroys any allocated resources.
Implements activemq::cmsutil::DestinationResolver.
|
inlinevirtual |
Initializes this destination resolver for use.
Ensures that any previously allocated resources are first destroyed (e.g. calls destroy()).
| mgr | the resource lifecycle manager. |
Implements activemq::cmsutil::DestinationResolver.
|
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. |
Implements activemq::cmsutil::DestinationResolver.