Skip to content

Commit

Permalink
Update MassTransitBroker to use Memory
Browse files Browse the repository at this point in the history
The code previously had the MassTransitBroker set to AzureServiceBus. This commit changes it to use in-memory MassTransitBroker. An "Memory" enumeration value is also added in the MassTransitBroker enumeration.
  • Loading branch information
sfmskywalker committed Feb 16, 2024
1 parent fd45171 commit 99d7d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/bundles/Elsa.Server.Web/Enums/MassTransitBroker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ namespace Elsa.Server.Web;
/// </summary>
public enum MassTransitBroker
{
Memory,
AzureServiceBus,
RabbitMq
}
2 changes: 1 addition & 1 deletion src/bundles/Elsa.Server.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
const bool useQuartz = true;
const bool useMassTransit = true;
const bool useZipCompression = true;
const MassTransitBroker useMassTransitBroker = MassTransitBroker.AzureServiceBus;
const MassTransitBroker useMassTransitBroker = MassTransitBroker.Memory;

var builder = WebApplication.CreateBuilder(args);
var services = builder.Services;
Expand Down

0 comments on commit 99d7d00

Please sign in to comment.