The queue configuration section configures Loupe to use Azure Service Bus instead of the SQL Server for a queue. The following options can be specified:
Option | Description | Default Value | Required |
---|---|---|---|
connectionString | The connection string for Azure Service Bus. If set, Azure Service Bus will be used instead of the repository SQL database. | "" | true |
queuePrefix |
Optional. The prefix to use for all queues. |
"" | true |
The Server.Config file is an XML formatted file with a section for email.
Server.Config |
Copy Code
|
---|---|
<?xml version="1.0" encoding="utf-8"?> <gibraltar> <queue connectionString="(An Azure Service Bus Connection String)" /> </gibraltar> |
To set the configuration through environment variables (like for hosting in an Azure App Service), the configuration items use the format:
Loupe__Server__Queue__{Option}
For example, to set the connection string use Loupe__Server__Queue_ConnectionString