|
activemq-cpp-3.9.0
|
Extends the CmsAccessor to add support for resolving destination names.
More...
#include <src/main/activemq/cmsutil/CmsDestinationAccessor.h>

Public Member Functions | |
| CmsDestinationAccessor () | |
| virtual | ~CmsDestinationAccessor () |
| virtual bool | isPubSubDomain () const |
| virtual void | setPubSubDomain (bool pubSubDomain) |
| virtual DestinationResolver * | getDestinationResolver () |
| virtual const DestinationResolver * | getDestinationResolver () const |
| virtual void | setDestinationResolver (DestinationResolver *destRes) |
Public Member Functions inherited from activemq::cmsutil::CmsAccessor | |
| CmsAccessor () | |
| virtual | ~CmsAccessor () |
| virtual ResourceLifecycleManager * | getResourceLifecycleManager () |
| virtual const ResourceLifecycleManager * | getResourceLifecycleManager () const |
| virtual void | setConnectionFactory (cms::ConnectionFactory *connectionFactory) |
| Set the ConnectionFactory to use for obtaining CMS Connections. More... | |
| virtual const cms::ConnectionFactory * | getConnectionFactory () const |
| Return the ConnectionFactory that this accessor uses for obtaining CMS Connections. More... | |
| virtual cms::ConnectionFactory * | getConnectionFactory () |
| Return the ConnectionFactory that this accessor uses for obtaining CMS Connections. More... | |
| virtual void | setSessionAcknowledgeMode (cms::Session::AcknowledgeMode sessionAcknowledgeMode) |
| Set the CMS acknowledgment mode that is used when creating a CMS Session to send a message. More... | |
| virtual cms::Session::AcknowledgeMode | getSessionAcknowledgeMode () const |
| Return the acknowledgment mode for CMS sessions. More... | |
Protected Member Functions | |
| virtual void | init () |
| Initializes this object and prepares it for use. More... | |
| virtual void | destroy () |
| Shuts down this object and destroys any allocated resources. More... | |
| virtual cms::Destination * | resolveDestinationName (cms::Session *session, const std::string &destName) |
| virtual void | checkDestinationResolver () |
Protected Member Functions inherited from activemq::cmsutil::CmsAccessor | |
| CmsAccessor (const CmsAccessor &) | |
| CmsAccessor & | operator= (const CmsAccessor &) |
| virtual cms::Connection * | createConnection () |
| Create a CMS Connection via this template's ConnectionFactory. More... | |
| virtual cms::Session * | createSession (cms::Connection *con) |
| Create a CMS Session for the given Connection. More... | |
| virtual void | checkConnectionFactory () |
| Verifies that the connection factory is valid. More... | |
Extends the CmsAccessor to add support for resolving destination names.
Not intended to be used directly.
| activemq::cmsutil::CmsDestinationAccessor::CmsDestinationAccessor | ( | ) |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
Shuts down this object and destroys any allocated resources.
| CMSException | if an error occurs during destruction. |
| IllegalStateException | if this object has already been destroyed. |
Reimplemented from activemq::cmsutil::CmsAccessor.
Reimplemented in activemq::cmsutil::CmsTemplate.
|
inlinevirtual |
|
inlinevirtual |
|
protectedvirtual |
Initializes this object and prepares it for use.
This should be called before any other methods are called. This version does nothing.
| CMSException | if an error occurs during initialization. |
| IllegalStateException | if this object has already been initialized. |
Reimplemented from activemq::cmsutil::CmsAccessor.
Reimplemented in activemq::cmsutil::CmsTemplate.
|
inlinevirtual |
|
protectedvirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in activemq::cmsutil::CmsTemplate.
Referenced by activemq::cmsutil::CmsTemplate::setPubSubDomain().