Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Haik committed Mar 27, 2024
1 parent 478502c commit c3c63c5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Reflection;
using MassTransit;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Pandatech.CleanArchitecture.Infrastructure.Context;
using Pandatech.CleanArchitecture.Infrastructure.Helpers;

Expand All @@ -25,7 +26,7 @@ public static WebApplicationBuilder AddMassTransit(this WebApplicationBuilder bu
x.UsingRabbitMq((context, cfg) =>
{
cfg.Host(ConfigurationPaths.RabbitMqUrl);
cfg.Host(builder.Configuration.GetConnectionString(ConfigurationPaths.RabbitMqUrl));
cfg.ConfigureEndpoints(context);
});
});
Expand Down

0 comments on commit c3c63c5

Please sign in to comment.