AmqpAnnotatedMessage interface
描述 ServiceBusReceivedMessage 的 AmqpAnnotatedMessage(作为 amqpAnnotatedMessage
属性)的一部分。
属性
application |
包含应用程序特定消息属性的字典。 |
body | 消息正文。 |
body |
从中解码数据的 AMQP 部分。 |
delivery |
用于邮件头上特定于传递的非标准属性的字典。 |
footer | 描述消息的页脚属性集。 |
header | 描述消息的标准标头属性集。 |
message |
包含将在消息标头中保存的消息属性的字典 |
properties | 描述消息的已定义标准属性集。 |
属性详细信息
applicationProperties
包含应用程序特定消息属性的字典。
applicationProperties?: {[key: string]: any}
属性值
{[key: string]: any}
body
消息正文。
body: any
属性值
any
bodyType
从中解码数据的 AMQP 部分。
bodyType?: "data" | "sequence" | "value"
属性值
"data" | "sequence" | "value"
deliveryAnnotations
用于邮件头上特定于传递的非标准属性的字典。
deliveryAnnotations?: {[key: string]: any}
属性值
{[key: string]: any}
footer
描述消息的页脚属性集。
footer?: {[key: string]: any}
属性值
{[key: string]: any}
header
描述消息的标准标头属性集。
header?: AmqpMessageHeader
属性值
AmqpMessageHeader
messageAnnotations
包含将在消息标头中保存的消息属性的字典
messageAnnotations?: {[key: string]: any}
属性值
{[key: string]: any}
properties
描述消息的已定义标准属性集。
properties?: AmqpMessageProperties
属性值
AmqpMessageProperties