activemq-cpp-3.6.0
activemq::cmsutil::MessageCreator Class Reference

Creates the user-defined message to be sent by the CmsTemplate. More...

#include <src/main/activemq/cmsutil/MessageCreator.h>

Public Member Functions

virtual ~MessageCreator ()
virtual cms::MessagecreateMessage (cms::Session *session)=0
 Creates a message from the given session.

Detailed Description

Creates the user-defined message to be sent by the CmsTemplate.

Constructor & Destructor Documentation

virtual activemq::cmsutil::MessageCreator::~MessageCreator ( )
virtual

Member Function Documentation

virtual cms::Message* activemq::cmsutil::MessageCreator::createMessage ( cms::Session session)
pure virtual

Creates a message from the given session.

Parameters
sessionthe CMS Session
Exceptions
cms::CMSExceptionif thrown by CMS API methods

The documentation for this class was generated from the following file: