Property | Type | Description | |
---|---|---|---|
AzureWebHookDequeueManager | System |
Method | Description | |
---|---|---|
AzureWebHookDequeueManager ( string connectionString, ILogger logger ) : System |
Initializes a new instance of the AzureWebHookDequeueManager using the given connectionString to identify the Microsoft Azure Storage Queue.
|
|
AzureWebHookDequeueManager ( string connectionString, ILogger logger, System.TimeSpan pollingFrequency, System.TimeSpan messageTimeout, int maxAttempts ) : System |
Initializes a new instance of the AzureWebHookDequeueManager using the given connectionString to identify the Microsoft Azure Storage Queue.
|
|
Dispose ( ) : void | ||
Start ( |
Start the event loop of requesting messages from the queue and send them out as WebHooks.
|
Method | Description | |
---|---|---|
DequeueAndSendWebHooks ( |
Dequeues available WebHooks and sends them out to each WebHook recipient.
|
|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
AzureWebHookDequeueManager ( string connectionString, ILogger logger, System.TimeSpan pollingFrequency, System.TimeSpan messageTimeout, int maxAttempts, |
Intended for unit test purposes
|
public AzureWebHookDequeueManager ( string connectionString, ILogger logger ) : System | ||
connectionString | string | The Microsoft Azure Storage Queue connection string. |
logger | ILogger | The |
return | System |
public AzureWebHookDequeueManager ( string connectionString, ILogger logger, System.TimeSpan pollingFrequency, System.TimeSpan messageTimeout, int maxAttempts ) : System | ||
connectionString | string | The Microsoft Azure Storage Queue connection string. |
logger | ILogger | The |
pollingFrequency | System.TimeSpan | The polling frequency by which we request messages from the queue. |
messageTimeout | System.TimeSpan | The time allotted to send out the WebHooks request and get a response. If /// the request has not completed within this time frame, the message will be considered to have failed and /// it will be attempted again. |
maxAttempts | int | The maximum number of attempts to deliver the WebHook. |
return | System |
protected DequeueAndSendWebHooks ( |
||
cancellationToken | ||
return | Task |
public Start ( |
||
cancellationToken | A |
|
return | Task |