#include <ActiveMQProducer.h>
Inheritance diagram for activemq::core::ActiveMQProducer:
Public Member Functions | |
ActiveMQProducer (connector::ProducerInfo *producerInfo, ActiveMQSession *session) | |
virtual | ~ActiveMQProducer (void) |
virtual void | send (cms::Message *message) throw ( cms::CMSException ) |
virtual void | send (const cms::Destination *destination, cms::Message *message) throw ( cms::CMSException ) |
virtual void | setDeliveryMode (int mode) |
virtual int | getDeliveryMode (void) const |
virtual void | setDisableMessageId (bool value) |
virtual bool | getDisableMessageId (void) const |
virtual void | setDisableMessageTimeStamp (bool value) |
virtual bool | getDisableMessageTimeStamp (void) const |
virtual void | setPriority (int priority) |
virtual int | getPriority (void) const |
virtual void | setTimeToLive (int time) |
virtual int | getTimeToLive (void) const |
virtual connector::ConnectorResource * | getConnectorResource (void) |
virtual connector::ProducerInfo * | getProducerInfo (void) |
Private Attributes | |
int | deliveryMode |
bool | disableMsgId |
bool | disableTimestamps |
int | priority |
int | timeToLive |
ActiveMQSession * | session |
connector::ProducerInfo * | producerInfo |
|
Constructor |
|
|
|
Retrieve the Connector resource that is associated with this Session resource.
Implements activemq::core::ActiveMQSessionResource. |
|
Gets the delivery mode for this Producer
|
|
Sets if Message Ids are disbled for this Producer
|
|
Sets if Message Time Stamps are disbled for this Producer
|
|
Gets the Priority level that this producer sends messages at
|
|
Retrives this object ProducerInfo pointer
|
|
Gets the Time to Live that this producer sends messages with
|
|
Sends the message to the designated destination.
|
|
Sends the message to the default producer destination.
|
|
Sets the delivery mode for this Producer
|
|
Sets if Message Ids are disbled for this Producer
|
|
Sets if Message Time Stamps are disbled for this Producer
|
|
Sets the Priority that this Producers sends messages at
|
|
Sets the Time to Live that this Producers sends messages with
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|