internal void AssignQueueType(RabbitQueueType queueType)
        {
            switch (queueType)
            {
            case RabbitQueueType.quorum:    this.AssignQueueTypeArgToQuorum();
                break;

            case RabbitQueueType.classic: this.AssignQueueTypeArgClassic();
                break;
            }
        }
Exemplo n.º 2
0
 public RabbitPublisherBuilder UseQueueType(RabbitQueueType queueType)
 {
     this.AssignQueueType(queueType);
     return(this);
 }
 public RabbitConsumerBuilder UseQueueType(RabbitQueueType queueType)
 {
     AssignQueueType(queueType);
     return(this);
 }