How to use the azure-sb.ExponentialRetryPolicyFilter function in azure-sb

To help you get started, we’ve selected a few azure-sb examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / ghcrawler / providers / queuing / serviceBusQueueManager.js View on Github external
constructor(amqpUrl, managementEndpoint) {
    this.amqpUrl = amqpUrl;
    this.managementEndpoint = managementEndpoint;
    this.client = null;
    const retryOperations = new serviceBus.ExponentialRetryPolicyFilter();
    this.serviceBusService = serviceBus.createServiceBusService(managementEndpoint).withFilter(retryOperations);
  }