IRISLIB database
RabbitMQMessage Class Reference

RabbitMQ message content and properties. More...

Inheritance diagram for RabbitMQMessage:
Collaboration diagram for RabbitMQMessage:

Public Member Functions

 SetContent (_.Library.Binary content)
 RabbitMQ message content and properties. More...
 
 SetEncodedContent (_.Library.String content)
 Encode string content as UTF-8.
 
- Public Member Functions inherited from Message
_.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.
 
- Public Member Functions inherited from RegisteredObject
_.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

- Static Public Attributes inherited from RegisteredObject
 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...
 
- Static Public Attributes inherited from Adaptor
 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...
 

Detailed Description

RabbitMQ message content and properties.

Member Function Documentation

◆ SetContent()

SetContent ( _.Library.Binary  content)

RabbitMQ message content and properties.

Set binary content

Member Data Documentation

◆ appId

appId

Message app Id.

 

◆ clusterId

clusterId

Cluster Id.

 

◆ contentEncoding

contentEncoding

Message content encoding.

Only "UTF-8" is supported  

◆ contentType

contentType

Message content type.

 

◆ correlationId

correlationId

Message correlation Id.

 

◆ deliveryMode

deliveryMode

2 indicates persistent, and 1 indicates transient

 

◆ encodedContent

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

exchange

The exchange to which this message should be published.

 

◆ expiration

expiration

Message expriation.

 

◆ headers

headers

This will be converted to a map from String to Object in Java,.

and attached to the message as the "headers" property  

◆ messageId

messageId

Message Id.

 

◆ priority

priority

Message priority.

 

◆ replyTo

replyTo

Message reply to.

 

◆ routingKey

routingKey

The routing key to publish with this message.

 

◆ timestamp

timestamp

Message timestamp.

 

◆ type

type

Message type.

 

◆ userId

userId

Message user Id.