I am new to Rebus and was looking for some documentation about triggering azure functions using Rebus with Azure Service Bus provider.
Is it possible?
I am new to Rebus and was looking for some documentation about triggering azure functions using Rebus with Azure Service Bus provider.
Is it possible?
Rebus does not have any kind of integration with Azure Functions, but you're free to let your Azure Functions be triggered by messages sent from Rebus, and you can easily use Rebus' one-way client mode to send messages from Azure Functions:
using var bus = Configure
.With(new BuiltinHandlerActivator())
.Transport(t => t.UseAzureServiceBusAsOneWayClient(conn))
.Routing(r => r.TypeBased().Map<MyMessage>("destination-queue"))
.Start();
await bus.Send(new MyMessage());