From 61497a6fc7feda589b166b7418ffd46b3e58dc3b Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Fri, 5 Apr 2024 20:57:12 +0200 Subject: [PATCH] Change MassTransitBroker to use Memory The previously used AzureServiceBus as MassTransitBroker has been changed to use Memory instead. This modification in Program.cs was crucial for lightweight, in-memory message broker functionality, especially suitable for development and testing environments. --- src/bundles/Elsa.ServerAndStudio.Web/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundles/Elsa.ServerAndStudio.Web/Program.cs b/src/bundles/Elsa.ServerAndStudio.Web/Program.cs index 7f064cf4b..819515346 100644 --- a/src/bundles/Elsa.ServerAndStudio.Web/Program.cs +++ b/src/bundles/Elsa.ServerAndStudio.Web/Program.cs @@ -26,7 +26,7 @@ var identityTokenSection = identitySection.GetSection("Tokens"); var massTransitSection = configuration.GetSection("MassTransit"); var massTransitDispatcherSection = configuration.GetSection("MassTransit.Dispatcher"); var heartbeatSection = configuration.GetSection("Heartbeat"); -const MassTransitBroker useMassTransitBroker = MassTransitBroker.AzureServiceBus; +const MassTransitBroker useMassTransitBroker = MassTransitBroker.Memory; services.Configure(massTransitSection); services.Configure(massTransitDispatcherSection);