#include <MessageProducer.h>
Public Member Functions | |
virtual | ~MessageProducer (void) |
virtual void | send (Message *message)=0 throw ( CMSException ) |
virtual void | send (const Destination *destination, Message *message)=0 throw ( CMSException ) |
virtual void | setDeliveryMode (int mode)=0 |
virtual int | getDeliveryMode (void) const =0 |
virtual void | setDisableMessageId (bool value)=0 |
virtual bool | getDisableMessageId (void) const =0 |
virtual void | setDisableMessageTimeStamp (bool value)=0 |
virtual bool | getDisableMessageTimeStamp (void) const =0 |
virtual void | setPriority (int priority)=0 |
virtual int | getPriority (void) const =0 |
virtual void | setTimeToLive (int time)=0 |
virtual int | getTimeToLive (void) const =0 |
MessageProducer
interface that is used by all MessageProducer derivations. This class defines the JMS spec'd interface for a MessageProducer.
|
|
|
Gets the delivery mode for this Producer
|
|
Gets if Message Ids are disbled for this Producer
|
|
Gets if Message Time Stamps are disbled for this Producer
|
|
Gets the Priority level that this producer sends messages at
|
|
Gets the Time to Live that this producer sends messages with
|
|
Sends the message to the designated destination, but does not take ownership of the message, caller must still destroy it.
|
|
Sends the message to the default producer destination, but does not take ownership of the message, caller must still destroy it.
|
|
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
|