Caution
NServiceBus.AzureFunctions.InProcess.ServiceBus has been officially sunsetted.
Microsoft announced that .NET 8 will be the last release supporting the in-process hosting model.
We will continue to provide support and address critical fixes during the sunset period, but no new features will be added.
New projects should use the isolated worker model instead. Follow these instructions to migrate.
NServiceBus.AzureFunctions.InProcess.ServiceBus supports processing messages in AzureFunctions using the Azure Service Bus trigger and the NServiceBus message pipeline.
It is part of the Particular Service Platform, which includes NServiceBus and tools to build, monitor, and debug distributed systems.
See the Azure Functions with Azure Service Bus (in-process) documentation for more details on how to use it.
Requirements:
- Have the Microsoft Azurite Storage Emulator running
- Configure an environment variable named
AzureWebJobsServiceBuswith an Azure Service Bus connection string