Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageHandlerOptionsBase

Package version

Describes the options passed to registerMessageHandler method when receiving messages from a Queue/Subscription.

Hierarchy

Index

Properties

Optional autoComplete

autoComplete: undefined | false | true
property

Indicates whether the complete() method on the message should automatically be called by the sdk after the user provided onMessage handler has been executed. Calling complete() on a message removes it from the Queue/Subscription.

  • 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