activemq-cpp-3.6.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. | |
virtual const cms::ConnectionFactory * | getConnectionFactory () const |
Return the ConnectionFactory that this accessor uses for obtaining CMS Connections. | |
virtual cms::ConnectionFactory * | getConnectionFactory () |
Return the ConnectionFactory that this accessor uses for obtaining CMS Connections. | |
virtual void | setSessionAcknowledgeMode (cms::Session::AcknowledgeMode sessionAcknowledgeMode) |
Set the CMS acknowledgment mode that is used when creating a CMS Session to send a message. | |
virtual cms::Session::AcknowledgeMode | getSessionAcknowledgeMode () const |
Return the acknowledgment mode for CMS sessions. |
Protected Member Functions | |
virtual void | init () |
Initializes this object and prepares it for use. | |
virtual void | destroy () |
Shuts down this object and destroys any allocated resources. | |
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. | |
virtual cms::Session * | createSession (cms::Connection *con) |
Create a CMS Session for the given Connection. | |
virtual void | checkConnectionFactory () |
Verifies that the connection factory is valid. |
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().