Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SessionReceiverOptions

Package version

Describes the options passed to the createReceiver method when using a Queue/Subscription that has sessions enabled.

Hierarchy

  • SessionReceiverOptions

Index

Properties

Optional maxSessionAutoRenewLockDurationInSeconds

maxSessionAutoRenewLockDurationInSeconds: undefined | number
property

The maximum duration in seconds until which, the lock on the session will be renewed automatically by the sdk.

  • Default: 300 seconds (5 minutes).
  • To disable autolock renewal, set this to 0.

sessionId

sessionId: string | undefined
property

The id of the session from which messages need to be received. If null or undefined is provided, Service Bus chooses a random session from available sessions.

Generated using TypeDoc