Handler that processes errors that occur during receiving.
This handler will be called for any error that occurs in the receiver when
processMessage
callback, orprocessMessage
callback and autoCompleteMessages
is enabledprocessMessage
callback fails and autoCompleteMessages
is enabledNote that when receiving messages in a stream using subscribe()
, the receiver will automatically retry receiving messages on all errors unless
close()
is called on the subscription. It is completely up to users to decide what errors are considered non-recoverable and to handle them
accordingly in this callback.
For a list of errors occurs within Service Bus, please refer to https://docs.microsoft.com/javascript/api/\@azure/service-bus/servicebuserror?view=azure-node-latest
The error and additional context to indicate where the error originated.
Handler that processes messages from service bus.
A message received from Service Bus.
Generated using TypeDoc
The general message handler interface (used for streamMessages).