RabbitMQ message content and properties. More...
Public Member Functions | |
SetContent (_.Library.Binary content) | |
RabbitMQ message content and properties. More... | |
SetEncodedContent (_.Library.String content) | |
Encode string content as UTF-8. | |
![]() | |
_.Library.Status | FromJSON (_.Library.String json) |
Set up message object from JSON string. | |
_.Library.Status | FromRemoteObject (_.Net.Remote.Object o) |
Set up message object from remote gateway object. | |
_.Library.String | ToJSON () |
Convert message object to JSON String. | |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
Public Attributes | |
appId | |
Message app Id. More... | |
clusterId | |
Cluster Id. More... | |
contentEncoding | |
Message content encoding. More... | |
contentType | |
Message content type. More... | |
correlationId | |
Message correlation Id. More... | |
deliveryMode | |
2 indicates persistent, and 1 indicates transient More... | |
encodedContent | |
The content of the message, stored in a binary stream. More... | |
exchange | |
The exchange to which this message should be published. More... | |
expiration | |
Message expriation. More... | |
headers | |
This will be converted to a map from String to Object in Java,. More... | |
messageId | |
Message Id. More... | |
priority | |
Message priority. More... | |
replyTo | |
Message reply to. More... | |
routingKey | |
The routing key to publish with this message. More... | |
timestamp | |
Message timestamp. More... | |
type | |
Message type. More... | |
userId | |
Message user Id. More... | |
Additional Inherited Members | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
![]() | |
JSONENABLED | |
If this parameter is true then JSON-enabling methods will be generated. More... | |
JSONIGNOREINVALIDFIELD | |
The JSONIGNOREINVALIDFIELD parameter allows the programmer to control handling of unexpected fields in the JSON input. More... | |
JSONIGNORENULL | |
JSONIGNORENULL allows the programmer to override the default handling of empty strings for string properties. More... | |
JSONNULL | |
If JSONNULL is true (=1), then unspecified properties are exported as the null value. More... | |
JSONREFERENCE | |
JSONREFERENCE specifies the default value of the JSONREFERENCE property parameter that specifies how to More... | |
RabbitMQ message content and properties.
SetContent | ( | _.Library.Binary | content | ) |
RabbitMQ message content and properties.
Set binary content
appId |
Message app Id.
clusterId |
Cluster Id.
contentEncoding |
Message content encoding.
Only "UTF-8" is supported
contentType |
Message content type.
correlationId |
Message correlation Id.
deliveryMode |
2 indicates persistent, and 1 indicates transient
encodedContent |
The content of the message, stored in a binary stream.
Content should be encoded in the preferred scheme before writing to the stream, and decoded after reading if necessary.
For example, to encode using UTF-8, then call $ZCONVERT(text, "O", "UTF8") and write the result to this stream.
exchange |
The exchange to which this message should be published.
expiration |
Message expriation.
headers |
This will be converted to a map from String to Object in Java,.
and attached to the message as the "headers" property
messageId |
Message Id.
priority |
Message priority.
replyTo |
Message reply to.
routingKey |
The routing key to publish with this message.
timestamp |
Message timestamp.
type |
Message type.
userId |
Message user Id.