![]() |
Habari STOMP Client for RabbitMQ 9.4
Object Pascal STOMP client library for RabbitMQ
|
Interface for producing messages. More...
Public Member Functions | |
TBTMQProducer (const ISession Session) | |
Constructor. |
Protected Member Functions | |
InternalSend (const IMessage AMessage, const IDestination Destination, const ICompletionListener CompletionListener) | |
IMQProducer | SetDeliveryMode (const TJMSDeliveryMode Value) |
Sets the delivery mode for messages sent by this producer. | |
IMQProducer | SetPriority (const Integer Value) |
Sets the priority for messages sent by this producer. | |
IMQProducer | SetTimeToLive (const Cardinal Value) |
Sets the time-to-live for messages sent by this producer. | |
TJMSDeliveryMode | GetDeliveryMode () |
Gets the current delivery mode for this producer. | |
Integer | GetPriority () |
Gets the current priority for messages sent by this producer. | |
Cardinal | GetTimeToLive () |
Gets the current time-to-live for messages sent by this producer. | |
SetCorrelationID (const string Value) | |
Sets the correlation ID for messages sent by this producer. | |
string | GetCorrelationID () |
Gets the correlation ID for this producer. | |
string | GetTypeName () |
Gets the message type name. | |
SetTypeName (const string Value) | |
Sets the message type name. | |
SetReplyTo (const IDestination Value) | |
Sets the reply-to destination for messages sent by this producer. | |
IDestination | GetReplyTo () |
Gets the current reply-to destination. | |
ClearProperties () | |
Clears all properties set on this producer. | |
PMStrings | GetPropertyNames () |
Gets all property names set on this producer. | |
Boolean | PropertyExists (const string Key) |
Checks if a property exists. | |
Boolean | GetBooleanProperty (const string Key) |
Gets a boolean property value. | |
SetProperty (const string Key, const Boolean Value) | |
Sets a boolean property. | |
Integer | GetIntProperty (const string Key) |
Gets an integer property value. | |
SetProperty (const string Key, const Integer Value) | |
Sets an integer property. | |
string | GetStringProperty (const string Key) |
Gets a string property value. | |
SetProperty (const string Key, const string Value) | |
Sets a string property. | |
IMQProducer | Send (const IDestination Destination, const string Body) |
Send a TextMessage with the specified body to the specified destination, using any send options, message properties and message headers that have been defined on this Producer. | |
IMQProducer | Send (const IDestination Destination, const string Body, const ICompletionListener CompletionListener) |
IMQProducer | Send (const IDestination Destination, const IMessage AMessage) |
IMQProducer | Send (const IDestination Destination, const IMessage AMessage, const ICompletionListener CompletionListener) |
Interface for producing messages.
TBTMQProducer::TBTMQProducer | ( | const ISession | Session | ) |
Constructor.
|
protected |
Clears all properties set on this producer.
Implements IMQProducer.
|
protected |
Gets a boolean property value.
Key | The property key |
Implements IMQProducer.
|
protected |
|
protected |
|
protected |
Gets an integer property value.
Key | The property key |
Implements IMQProducer.
|
protected |
Gets the current priority for messages sent by this producer.
Implements IMQProducer.
|
protected |
Gets all property names set on this producer.
Implements IMQProducer.
|
protected |
|
protected |
Gets a string property value.
Key | The property key |
Implements IMQProducer.
|
protected |
Gets the current time-to-live for messages sent by this producer.
Implements IMQProducer.
|
protected |
|
protected |
|
protected |
Checks if a property exists.
Key | The property key to check |
Implements IMQProducer.
|
protected |
Implements IMQProducer.
|
protected |
Implements IMQProducer.
|
protected |
Send a TextMessage with the specified body to the specified destination, using any send options, message properties and message headers that have been defined on this Producer.
Implements IMQProducer.
|
protected |
Implements IMQProducer.
|
protected |
Sets the correlation ID for messages sent by this producer.
Value | The correlation ID to set |
Implements IMQProducer.
|
protected |
Sets the delivery mode for messages sent by this producer.
Value | The delivery mode to set |
Implements IMQProducer.
|
protected |
Sets the priority for messages sent by this producer.
Value | The priority level |
Implements IMQProducer.
|
protected |
Sets a boolean property.
Key | The property key |
Value | The boolean value to set |
Implements IMQProducer.
|
protected |
Sets an integer property.
Key | The property key |
Value | The integer value to set |
Implements IMQProducer.
|
protected |
Sets a string property.
Key | The property key |
Value | The string value to set |
Implements IMQProducer.
|
protected |
Sets the reply-to destination for messages sent by this producer.
Value | The destination to reply to |
Implements IMQProducer.
|
protected |
Sets the time-to-live for messages sent by this producer.
Value | The time to live in milliseconds |
Implements IMQProducer.
|
protected |