title: Each time I Publish message, just one of the consumers fired randomly
body: <p>I use MassTransit and RabbitMQ in the sample project. I simply try to publish a message and then consume it by 2 separated Consumers. but each time just one of the consumers fired randomly! What is the problem?</p>
  <p>this is the sender method</p>
  <pre><code> await _publishEndpoint.Publish(new ConsultantFinishedEvent(50));
  </code></pre>
  <p>this config in application startup in Publisher:</p>
  <pre><code>#region Service Bus Config
      public static IServiceCollection AddEventBus(this IServiceCollection services, IConfiguration configuration)
      {
          services.AddMassTransit(x =&gt;
          {
              RegisterMessageConsumers(x);
              RegisterRequestClients(x);
              x.UsingRabbitMq((context, cfg) =&gt;
              {
                  cfg.ConfigureEndpoints(context);
                  cfg.Host(configuration[&quot;EventBusConnection&quot;], h =&gt;
                  {
                      h.Username(configuration[&quot;EventBusUserName&quot;]);
                      h.Password(configuration[&quot;EventBusPassword&quot;]);
                  });
              });
          });
          services.AddMassTransitHostedService();
  
          return services;
      }
  
      private static void RegisterMessageConsumers(IServiceCollectionBusConfigurator service)
      {
          //service.AddConsumer&lt;OurConsumerClass&gt;();
      }
  
  
      #endregion
  </code></pre>
  <p>This is simple consumers:</p>
  <pre><code>public class ConsultantFinishedEventConsumer : IConsumer&lt;ConsultantFinishedEvent&gt;
  {
      public Task Consume(ConsumeContext&lt;ConsultantFinishedEvent&gt; context)
      {
          int xx = 0;
          return null;
      }
  }
  </code></pre>
  <p>and also this config that I use for all Consumers startups :</p>
  <pre><code>  #region Service Bus 
      public static IServiceCollection AddEventBus(this IServiceCollection services, IConfiguration configuration)
      {
          services.AddMassTransit(x =&gt;
          {
              RegisterMessageConsumers(x);
              RegisterRequestClients(x);
              x.UsingRabbitMq((context, cfg) =&gt;
              {
                  cfg.ConfigureEndpoints(context);
                  cfg.Host(configuration[&quot;EventBusConnection&quot;], h =&gt;
                  {
                      h.Username(configuration[&quot;EventBusUserName&quot;]);
                      h.Password(configuration[&quot;EventBusPassword&quot;]);
                  });
                  //Register Consumers
                  cfg.ReceiveEndpoint(&quot;PatintQueue&quot;, ep =&gt;
                  {
                      ep.PrefetchCount = 16;
                  });
              });
          });
          services.AddMassTransitHostedService();
          return services;
      }
  
      private static void RegisterMessageConsumers(IServiceCollectionBusConfigurator service)
      {
          service.AddConsumer&lt;ConsultantFinishedEventConsumer&gt;();
      }
  </code></pre>