Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SubscribeOptions

Package version

Options used when subscribing to a Service Bus queue or subscription.

Hierarchy

  • {}
    • SubscribeOptions

Index

Properties

Optional autoCompleteMessages

autoCompleteMessages: undefined | false | true
property

Indicates whether the message should be settled using the completeMessage() method on the receiver automatically after it executes the user provided message callback. Doing so removes the message from the queue/subscription.

This option is ignored if messages are received in the receiveAndDelete receive mode or if the message is already settled in the user provided message callback.

  • Default: true.

Optional maxConcurrentCalls

maxConcurrentCalls: undefined | number
property

The maximum number of concurrent calls that the library can make to the user's message handler. Once this limit has been reached, more messages will not be received until atleast one of the calls to the user's message handler has completed.

  • Default: 1.

Generated using TypeDoc