Skip to content

Commit

Permalink
(#126) messageBroker.RabbitMQ: udpate publisher/subscriber implementa…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
SaintAngeLs committed Oct 18, 2024
1 parent 1e169a6 commit 95d5407
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ private IBusSubscriber InternalSubscribe<T>(IRabbitMqClient client, Func<IServic
// Helper method to get the correct RabbitMQ client for the given broker name
private IRabbitMqClient GetClient(string brokerName)
{
// Use the first client if no brokerName is provided or there is only one broker
if (string.IsNullOrWhiteSpace(brokerName) || _clients.Count() == 1)
{
return _clients.First();
Expand Down

0 comments on commit 95d5407

Please sign in to comment.