AMQPMessage Type
Represents an AMQP message.
Remarks
This type represents an AMQP message.
Fields
absoluteExpiryTime Int64 |
The absolute time at which this message should be considered expired. This property specifies the absolute time at which this message should be considered expired. It may be -1 if this message does not have an absolute expiry time. This property's value should be specified in milliseconds relative to the Unix epoch (January 1, 1970 00:00:00 UTC). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
contentEncoding String |
The content encoding of this message's data. This property specifies the content encoding of this message's data. It may be empty if this message does not have a content encoding set. When constructing a message for sending, this property is ignored if ValueType is not set to mvtBinary (16). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
contentType String |
The content type of this message's data. This property specifies the content type of this message's data. It may be empty if this message does not have a content type set. When constructing a message for sending, this property is ignored if ValueType is not set to mvtBinary (16). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
correlationId String |
The correlation Id of this message. This property specifies the correlation Id of this message. It may be empty if this message does not have a correlation Id. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
creationTime Int64 |
The creation time of this message. This property specifies the absolute creation time of this message. It may be -1 if this message does not have a creation time set. This property's value should be specified in milliseconds relative to the Unix epoch (January 1, 1970 00:00:00 UTC). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
deliveryCount Int64 |
How many previous attempts there have been to deliver this message. This property indicates how many (unsuccessful) previous attempts there have been to deliver this message. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
durable Bool |
Whether this message is durable. This property specifies whether this message is durable or not. If a message is marked as durable, any intermediate nodes which cannot guarantee that the message won't be lost under any circumstances will not accept the message. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
firstAcquirer Bool |
Whether this message may have been acquired by other links previously. This property specifies whether this message might have previously been acquired by other links. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
groupId String |
The Id of the group this message belongs to. This property specifies the Id of the group that this message belongs to. It may be empty if this message does not belong to a group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
groupSequence Int64 |
The position of this message within its group. This property specifies the relative position of this message within its group. It may be -1 if this message does not belong to a group. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
linkName String |
The name of the link this message is associated with. This property holds the name of the link which this message is being sent/was received on. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
messageId String |
The unique Id of this message. This property holds the unique Id of this message. It may be empty if this message does not have a unique Id. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
priority Int32 |
The priority of this message. This property holds the priority of this message; the default is 4 (as defined by the AMQP specification). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
replyTo String |
The address of the node to send replies to for this message. This property specifies the address of the node to send replies to for this message. It may be empty if this message does not have a specific reply-to node address. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
replyToGroupId String |
The Id of the group to send replies to for this message. This property specifies the Id of the group to send replies to for this message. It may be empty if there is not a specific reply-to group for this message. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
settled Bool |
Whether this message is settled. This property specifies whether this message is settled or not. Note that, when constructing a message for sending, this property is ignored if the send settle mode of the link it is sent on is not Mixed (2). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
subject String |
The subject of this message. This property specifies the subject of this message. It may be empty if this message does not have a subject set. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
to String |
The address of the node which this message is intended for. This property specifies the address of the node which this message is intended to be delivered to. It my be empty if this message is not intended for a specific destination node. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ttl Int64 |
The time-to-live value for this message. This property specifies the time-to-live (TTL) value, in milliseconds, for this message. It may be -1 if this message does not have a TTL. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
userId String |
The identity of the user responsible for producing this message. This property specifies the identity of the user responsible for producing this message. It may be empty if no specific user was responsible for creating this message. A message's user Id may be used for verification or authentication by intermediates and/or the final receiver. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
value String |
This message's value. This property specifies the value to send in this message. The ValueType property should be used to specify the data type of the value. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
valueType AMQPValueTypes |
This message's value data type. This property specifies the data type of this message's Value. The table below shows the possible value types, their descriptions, and how to format the data assigned to Value. All numeric value types should use their standard string formatting (except for the mvtDecimal (12) type, which should be specified as hex-encoded bytes).
|
Constructors
public init()