Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ServiceBusMessageBatch

Package version

A batch of messages that you can create using the {@link createBatch} method.

Hierarchy

  • ServiceBusMessageBatch

Index

Properties

count

count: number

Number of messages added to the batch.

readonly

maxSizeInBytes

maxSizeInBytes: number

The maximum size of the batch, in bytes. The tryAddMessage function on the batch will return false if the message being added causes the size of the batch to exceed this limit. Use the createMessageBatch() method on the Sender to set the maxSizeInBytes.

readonly

sizeInBytes

sizeInBytes: number

Size of the batch in bytes after the events added to it have been encoded into a single AMQP message.

readonly

Methods

tryAddMessage

Generated using TypeDoc