17 #ifndef _ACTIVEMQ_CMSUTIL_DYNAMICDESTINATIONRESOLVER_H_ 18 #define _ACTIVEMQ_CMSUTIL_DYNAMICDESTINATIONRESOLVER_H_ 37 class SessionResolver {
47 SessionResolver(
const SessionResolver&);
48 SessionResolver& operator=(
const SessionResolver&);
53 : resourceLifecycleManager( resourceLifecycleManager ),
59 virtual ~SessionResolver() {}
61 cms::Topic* getTopic(
const std::string& topicName);
63 cms::Queue* getQueue(
const std::string& queueName);
94 this->resourceLifecycleManager = mgr;
97 virtual void destroy();
118 const std::string& destName,
An interface encapsulating a provider-specific topic name.
Definition: Topic.h:36
A Destination object encapsulates a provider-specific address.
Definition: Destination.h:39
#define AMQCPP_API
Definition: Config.h:30
Map template that wraps around a std::map to provide a more user-friendly interface and to provide co...
Definition: StlMap.h:47
Resolves a CMS destination name to a Destination.
Definition: DestinationResolver.h:36
Resolves a CMS destination name to a Destination.
Definition: DynamicDestinationResolver.h:31
A Session object is a single-threaded context for producing and consuming messages.
Definition: Session.h:105
Manages the lifecycle of a set of CMS resources.
Definition: ResourceLifecycleManager.h:37
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
An interface encapsulating a provider-specific queue name.
Definition: Queue.h:37
virtual void init(ResourceLifecycleManager *mgr)
Initializes this destination resolver for use.
Definition: DynamicDestinationResolver.h:88