Ejemplo n.º 1
0
 public void BasicPublish(PublicationAddress addr,
                          IBasicProperties basicProperties,
                          byte[] body)
 {
     m_delegate.BasicPublish(addr.ExchangeName,
                             addr.RoutingKey,
                             basicProperties,
                             body);
 }
Ejemplo n.º 2
0
 public void BasicPublish(string exchange,
                          string routingKey,
                          bool mandatory,
                          IBasicProperties basicProperties,
                          byte[] body)
 {
     m_delegate.BasicPublish(exchange,
                             routingKey,
                             mandatory,
                             basicProperties,
                             body);
 }
Ejemplo n.º 3
0
 public Task BasicPublish(string exchange,
                          string routingKey,
                          bool mandatory,
                          IBasicProperties basicProperties,
                          byte[] body)
 {
     return(m_delegate.BasicPublish(exchange,
                                    routingKey,
                                    mandatory,
                                    basicProperties,
                                    body));
 }
        public void BasicPublish(string exchange,
                                 string routingKey,
                                 bool mandatory,
                                 IBasicProperties basicProperties,
                                 ReadOnlyMemory <byte> body)
        {
            if (routingKey == null)
            {
                throw new ArgumentNullException(nameof(routingKey));
            }

            _delegate.BasicPublish(exchange,
                                   routingKey,
                                   mandatory,
                                   basicProperties,
                                   body);
        }