Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
YarinOmesi committed Sep 2, 2023
1 parent ad8c9fd commit b9c6368
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public bool ExclusiveConsumer

public bool Lazy
{
set => _settings.QueueConfigurator.Lazy = value;
set => _settings.Lazy = value;
}

public TimeSpan? QueueExpiration
Expand All @@ -89,37 +89,37 @@ public TimeSpan? QueueExpiration

public bool SingleActiveConsumer
{
set => _settings.QueueConfigurator.SingleActiveConsumer = value;
set => _settings.SingleActiveConsumer = value;
}

public void SetQueueArgument(string key, object value)
{
_settings.QueueConfigurator.SetQueueArgument(key, value);
_settings.SetQueueArgument(key, value);
}

public void SetQueueArgument(string key, TimeSpan value)
{
_settings.QueueConfigurator.SetQueueArgument(key, value);
_settings.SetQueueArgument(key, value);
}

public void SetExchangeArgument(string key, object value)
{
_settings.ExchangeConfigurator.SetExchangeArgument(key, value);
_settings.SetExchangeArgument(key, value);
}

public void SetExchangeArgument(string key, TimeSpan value)
{
_settings.ExchangeConfigurator.SetExchangeArgument(key, value);
_settings.SetExchangeArgument(key, value);
}

public void EnablePriority(byte maxPriority)
{
_settings.QueueConfigurator.EnablePriority(maxPriority);
_settings.EnablePriority(maxPriority);
}

public void SetQuorumQueue(int? replicationFactor = default)
{
_settings.QueueConfigurator.SetQuorumQueue(replicationFactor);
_settings.SetQuorumQueue(replicationFactor);
}

public void Host(RabbitMqHostSettings settings)
Expand Down

0 comments on commit b9c6368

Please sign in to comment.