Skip to content

Commit

Permalink
Include DI configuration for Processor
Browse files Browse the repository at this point in the history
  • Loading branch information
tbd-develop committed Feb 13, 2025
1 parent aa91f5a commit 8b15253
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public MediatorOutboxConfigurationBuilder AddOutboxMonitoringService(
{
_services.AddHostedService<OutboxMonitoringService>();

_services.AddTransient<IQueueProcessor, OutboxMessageProcessor>();

if (configure is null)
{
_services.Configure<OutboxMonitoringConfiguration>(_ => { });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using TbdDevelop.Mediator.Outbox.Services;

namespace TbdDevelop.Mediator.Outbox.Infrastructure;
namespace TbdDevelop.Mediator.Outbox.Infrastructure;

public interface IQueueProcessor
{
Expand Down

0 comments on commit 8b15253

Please sign in to comment.