18#ifndef _ACTIVEMQ_CMSUTIL_RESOURCELIFECYCLEMANAGER_H_
19#define _ACTIVEMQ_CMSUTIL_RESOURCELIFECYCLEMANAGER_H_
46 ConnectionList connections;
48 DestinationList destinations;
49 ProducerList producers;
50 ConsumerList consumers;
#define AMQCPP_API
Definition Config.h:30
void addSession(cms::Session *session)
Adds a session so that its life will be managed by this object.
void addDestination(cms::Destination *dest)
Adds a destination so that its life will be managed by this object.
void addMessageConsumer(cms::MessageConsumer *consumer)
Adds a message consumer so that its life will be managed by this object.
ResourceLifecycleManager(const ResourceLifecycleManager &)
void releaseAll()
Releases all of the contained resources so that this object will no longer control their lifetimes.
void addConnection(cms::Connection *connection)
Adds a connection so that its life will be managed by this object.
ResourceLifecycleManager()
void destroy()
Closes and destroys the contained CMS resources.
void addMessageProducer(cms::MessageProducer *producer)
Adds a message producer so that its life will be managed by this object.
virtual ~ResourceLifecycleManager()
Destructor - calls destroy
ResourceLifecycleManager & operator=(const ResourceLifecycleManager &)
The client's connection to its provider.
Definition Connection.h:70
A Destination object encapsulates a provider-specific address.
Definition Destination.h:39
A client uses a MessageConsumer to received messages from a destination.
Definition MessageConsumer.h:63
A client uses a MessageProducer object to send messages to a Destination.
Definition MessageProducer.h:60
A Session object is a single-threaded context for producing and consuming messages.
Definition Session.h:105
A complete implementation of the List interface using a doubly linked list data structure.
Definition LinkedList.h:55
Definition CachedConsumer.h:25
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24