Habari STOMP Client for OpenMQ 9.0
Object Pascal STOMP client library for OpenMQ
Loading...
Searching...
No Matches
TBTMapMessage Class Reference

A MapMessage object is used to send a set of name-value pairs. More...

Inheritance diagram for TBTMapMessage:
IMapMessage TBTMessage

Public Member Functions

 TBTMapMessage (const TBTStompClient ATransport)
 
PMStrings GetMapNames ()
 
Boolean ItemExists (const string AName)
 
 SetBoolean (const string AName, const Boolean AValue)
 
Boolean GetBoolean (const string AName)
 
 SetInt (const string AName, const Integer AValue)
 
Integer GetInt (const string AName)
 
 SetString (const string AName, const string AValue)
 
string GetString (const string AName)
 
- Public Member Functions inherited from TBTMessage
 TBTMessage (const TBTStompClient ATransport)
 
 TBTMessage (const TBTStompClient ATransport, const string ASubscriptionID)
 
 TBTMessage (const TBTStompClient ATransport, const RawByteString AContent, const string ASubscriptionID)
 
 ~TBTMessage ()
 
 Acknowledge ()
 Acknowledges all consumed messages of the session of this consumed message.
 
 Nack ()
 NACK is the opposite of ACK.
 
PMStrings GetPropertyNames ()
 Returns a list of all the property names.
 
Boolean GetBooleanProperty (const string Key)
 Get the value of boolean property Key.
 
 SetBooleanProperty (const string Key, const Boolean Value)
 Set the value of boolean property Key.
 
Integer GetIntProperty (const string Key)
 Get the value of int property Key.
 
 SetIntProperty (const string Key, const Integer Value)
 Set the value of int property Key.
 
string GetStringProperty (const string Key)
 Get the value of string property Key.
 
 SetStringProperty (const string Key, const string Value)
 Set the value of string property Key.
 

Additional Inherited Members

- Public Attributes inherited from TBTMessage
RawByteString Content
 The message content.
 
string StompSubscriptionID
 required for ACK in STOMP 1.1
 
string JMSCorrelationID
 Good consumes will add this header to any responses they send so that entire conversations can be correlated.
 
IDestination JMSDestination
 Gets the Destination object for this message.
 
TDateTime JMSExpiration
 The message's expiration value.
 
TJMSDeliveryMode JMSDeliveryMode
 Whether or not the message is persistent.
 
Integer JMSPriority
 The message priority level.
 
Boolean JMSRedelivered
 Redelivered - True if this message has been redelivered to this or another consumer before being acknowledged successfully.
 
IDestination JMSReplyTo
 The Destination object to which a reply to this message should be sent.
 
TDateTime JMSTimestamp
 The timestamp the broker added to the message.
 
string JMSMessageID
 The message ID which is set by the provider.
 
string JMSType
 The type name of this message.
 
string TransactionID
 The transaction id.
 
- Protected Member Functions inherited from TBTMessage
RawByteString GetContent ()
 
 SetContent (const RawByteString Value)
 
 SetMessageID (const string Value)
 
string GetMessageID ()
 
IDestination GetDestination ()
 
 SetDestination (const IDestination Value)
 
 SetReplyTo (const IDestination Value)
 
IDestination GetReplyTo ()
 
 SetPriority (const Integer Value)
 
Integer GetPriority ()
 
 SetJMSDeliveryMode (const TJMSDeliveryMode Value)
 
TJMSDeliveryMode GetJMSDeliveryMode ()
 
Boolean GetJMSRedelivered ()
 
 SetJMSRedelivered (const Boolean Value)
 
 SetExpiration (const TDateTime Value)
 
TDateTime GetExpiration ()
 
 SetCorrelationID (const string Value)
 
string GetCorrelationID ()
 
 SetTimestamp (TDateTime Value)
 
TDateTime GetTimestamp ()
 
string GetTypeName ()
 
 SetTypeName (const string Value)
 

Detailed Description

A MapMessage object is used to send a set of name-value pairs.

The names are String objects, and the values are String objects. The names must have a value that is not null, and not an empty string. The entries can be accessed sequentially or randomly by name. The order of the entries is undefined.

Constructor & Destructor Documentation

◆ TBTMapMessage()

TBTMapMessage::TBTMapMessage ( const TBTStompClient ATransport)

Member Function Documentation

◆ GetBoolean()

Boolean TBTMapMessage::GetBoolean ( const string AName)

◆ GetInt()

Integer TBTMapMessage::GetInt ( const string AName)

◆ GetMapNames()

PMStrings TBTMapMessage::GetMapNames ( )

◆ GetString()

string TBTMapMessage::GetString ( const string AName)

◆ ItemExists()

Boolean TBTMapMessage::ItemExists ( const string AName)

◆ SetBoolean()

TBTMapMessage::SetBoolean ( const string AName,
const Boolean AValue )

◆ SetInt()

TBTMapMessage::SetInt ( const string AName,
const Integer AValue )

◆ SetString()

TBTMapMessage::SetString ( const string AName,
const string AValue )