Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CreateSessionReceiverOptions

Package version

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

Hierarchy

Index

Properties

Optional autoRenewLockDurationInMs

autoRenewLockDurationInMs: undefined | number
property

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

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

Optional sessionId

sessionId: undefined | string
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