I
InsightNexus

ServiceBusMessage | @azure/service-bus

Author

Rachel Davis

Published Feb 16, 2026

Properties

body

body: any

Optional contentType

contentType: undefined | string

Optional correlationId

correlationId: string | number | Buffer

Optional label

label: undefined | string

Optional messageId

messageId: string | number | Buffer

Optional partitionKey

partitionKey: undefined | string

Optional replyTo

replyTo: undefined | string

Optional replyToSessionId

replyToSessionId: undefined | string

Optional scheduledEnqueueTimeUtc

scheduledEnqueueTimeUtc: Date

Optional sessionId

sessionId: undefined | string

Optional timeToLive

timeToLive: undefined | number

Optional to

to: undefined | string

Optional userProperties

userProperties: undefined | {}

Optional viaPartitionKey

viaPartitionKey: undefined | string