Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ServiceBusMessageBatch

Package version

A batch of messages that you can create using the createBatch method.

export

Hierarchy

  • ServiceBusMessageBatch

Index

Properties

Methods

Properties

count

count: number

Number of messages added to the batch.

readonly

maxSizeInBytes

maxSizeInBytes: number

The maximum size of the batch, in bytes. The tryAdd function on the batch will return false if the message being added causes the size of the batch to exceed this limit. Use the createBatch() 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

tryAdd

Generated using TypeDoc