C# Class RabbitMQ.Client.IModelExensions

Exibir arquivo Open project: rabbitmq/rabbitmq-dotnet-client

Public Methods

Method Description
BasicConsume ( this model, IBasicConsumer consumer, string queue, bool autoAck = false, string consumerTag = "", bool noLocal = false, bool exclusive = false, object>.IDictionary arguments = null ) : string

Start a Basic content-class consumer.

BasicConsume ( this model, string queue, bool autoAck, IBasicConsumer consumer ) : string

Start a Basic content-class consumer.

BasicConsume ( this model, string queue, bool autoAck, string consumerTag, IBasicConsumer consumer ) : string

Start a Basic content-class consumer.

BasicConsume ( this model, string queue, bool autoAck, string consumerTag, object>.IDictionary arguments, IBasicConsumer consumer ) : string

Start a Basic content-class consumer.

BasicPublish ( this model, RabbitMQ.Client.PublicationAddress addr, IBasicProperties basicProperties, byte body ) : void

(Extension method) Convenience overload of BasicPublish.

The publication occurs with mandatory=false and immediate=false.

BasicPublish ( this model, string exchange, string routingKey, IBasicProperties basicProperties, byte body ) : void

(Extension method) Convenience overload of BasicPublish.

The publication occurs with mandatory=false

BasicPublish ( this model, string exchange, string routingKey, bool mandatory = false, IBasicProperties basicProperties = null, byte body = null ) : void

(Spec method) Convenience overload of BasicPublish.

ExchangeBind ( this model, string destination, string source, string routingKey, object>.IDictionary arguments = null ) : void

(Extension method) Bind an exchange to an exchange.

ExchangeBindNoWait ( this model, string destination, string source, string routingKey, object>.IDictionary arguments = null ) : void

(Extension method) Like exchange bind but sets nowait to true.

ExchangeDeclare ( this model, string exchange, string type, bool durable = false, bool autoDelete = false, object>.IDictionary arguments = null ) : void

(Spec method) Declare an exchange.

ExchangeDeclareNoWait ( this model, string exchange, string type, bool durable = false, bool autoDelete = false, object>.IDictionary arguments = null ) : void

(Extension method) Like ExchangeDeclare but sets nowait to true.

ExchangeDelete ( this model, string exchange, bool ifUnused = false ) : void

(Spec method) Deletes an exchange.

ExchangeDeleteNoWait ( this model, string exchange, bool ifUnused = false ) : void

(Extension method) Like ExchangeDelete but sets nowait to true.

ExchangeUnbind ( this model, string destination, string source, string routingKey, object>.IDictionary arguments = null ) : void

(Spec method) Unbinds an exchange.

QueueBind ( this model, string queue, string exchange, string routingKey, object>.IDictionary arguments = null ) : void

(Spec method) Binds a queue.

QueueDeclare ( this model, string queue = "", bool durable = false, bool exclusive = true, bool autoDelete = true, object>.IDictionary arguments = null ) : RabbitMQ.Client.QueueDeclareOk

(Spec method) Declare a queue.

QueueDelete ( this model, string queue, bool ifUnused = false, bool ifEmpty = false ) : uint

(Spec method) Deletes a queue.

QueueDeleteNoWait ( this model, string queue, bool ifUnused = false, bool ifEmpty = false ) : void

(Extension method) Like QueueDelete but sets nowait to true.

QueueUnbind ( this model, string queue, string exchange, string routingKey, object>.IDictionary arguments = null ) : void

(Spec method) Unbinds a queue.

Method Details

BasicConsume() public static method

Start a Basic content-class consumer.
public static BasicConsume ( this model, IBasicConsumer consumer, string queue, bool autoAck = false, string consumerTag = "", bool noLocal = false, bool exclusive = false, object>.IDictionary arguments = null ) : string
model this
consumer IBasicConsumer
queue string
autoAck bool
consumerTag string
noLocal bool
exclusive bool
arguments object>.IDictionary
return string

BasicConsume() public static method

Start a Basic content-class consumer.
public static BasicConsume ( this model, string queue, bool autoAck, IBasicConsumer consumer ) : string
model this
queue string
autoAck bool
consumer IBasicConsumer
return string

BasicConsume() public static method

Start a Basic content-class consumer.
public static BasicConsume ( this model, string queue, bool autoAck, string consumerTag, IBasicConsumer consumer ) : string
model this
queue string
autoAck bool
consumerTag string
consumer IBasicConsumer
return string

BasicConsume() public static method

Start a Basic content-class consumer.
public static BasicConsume ( this model, string queue, bool autoAck, string consumerTag, object>.IDictionary arguments, IBasicConsumer consumer ) : string
model this
queue string
autoAck bool
consumerTag string
arguments object>.IDictionary
consumer IBasicConsumer
return string

BasicPublish() public static method

(Extension method) Convenience overload of BasicPublish.
The publication occurs with mandatory=false and immediate=false.
public static BasicPublish ( this model, RabbitMQ.Client.PublicationAddress addr, IBasicProperties basicProperties, byte body ) : void
model this
addr RabbitMQ.Client.PublicationAddress
basicProperties IBasicProperties
body byte
return void

BasicPublish() public static method

(Extension method) Convenience overload of BasicPublish.
The publication occurs with mandatory=false
public static BasicPublish ( this model, string exchange, string routingKey, IBasicProperties basicProperties, byte body ) : void
model this
exchange string
routingKey string
basicProperties IBasicProperties
body byte
return void

BasicPublish() public static method

(Spec method) Convenience overload of BasicPublish.
public static BasicPublish ( this model, string exchange, string routingKey, bool mandatory = false, IBasicProperties basicProperties = null, byte body = null ) : void
model this
exchange string
routingKey string
mandatory bool
basicProperties IBasicProperties
body byte
return void

ExchangeBind() public static method

(Extension method) Bind an exchange to an exchange.
public static ExchangeBind ( this model, string destination, string source, string routingKey, object>.IDictionary arguments = null ) : void
model this
destination string
source string
routingKey string
arguments object>.IDictionary
return void

ExchangeBindNoWait() public static method

(Extension method) Like exchange bind but sets nowait to true.
public static ExchangeBindNoWait ( this model, string destination, string source, string routingKey, object>.IDictionary arguments = null ) : void
model this
destination string
source string
routingKey string
arguments object>.IDictionary
return void

ExchangeDeclare() public static method

(Spec method) Declare an exchange.
public static ExchangeDeclare ( this model, string exchange, string type, bool durable = false, bool autoDelete = false, object>.IDictionary arguments = null ) : void
model this
exchange string
type string
durable bool
autoDelete bool
arguments object>.IDictionary
return void

ExchangeDeclareNoWait() public static method

(Extension method) Like ExchangeDeclare but sets nowait to true.
public static ExchangeDeclareNoWait ( this model, string exchange, string type, bool durable = false, bool autoDelete = false, object>.IDictionary arguments = null ) : void
model this
exchange string
type string
durable bool
autoDelete bool
arguments object>.IDictionary
return void

ExchangeDelete() public static method

(Spec method) Deletes an exchange.
public static ExchangeDelete ( this model, string exchange, bool ifUnused = false ) : void
model this
exchange string
ifUnused bool
return void

ExchangeDeleteNoWait() public static method

(Extension method) Like ExchangeDelete but sets nowait to true.
public static ExchangeDeleteNoWait ( this model, string exchange, bool ifUnused = false ) : void
model this
exchange string
ifUnused bool
return void

ExchangeUnbind() public static method

(Spec method) Unbinds an exchange.
public static ExchangeUnbind ( this model, string destination, string source, string routingKey, object>.IDictionary arguments = null ) : void
model this
destination string
source string
routingKey string
arguments object>.IDictionary
return void

QueueBind() public static method

(Spec method) Binds a queue.
public static QueueBind ( this model, string queue, string exchange, string routingKey, object>.IDictionary arguments = null ) : void
model this
queue string
exchange string
routingKey string
arguments object>.IDictionary
return void

QueueDeclare() public static method

(Spec method) Declare a queue.
public static QueueDeclare ( this model, string queue = "", bool durable = false, bool exclusive = true, bool autoDelete = true, object>.IDictionary arguments = null ) : RabbitMQ.Client.QueueDeclareOk
model this
queue string
durable bool
exclusive bool
autoDelete bool
arguments object>.IDictionary
return RabbitMQ.Client.QueueDeclareOk

QueueDelete() public static method

(Spec method) Deletes a queue.
public static QueueDelete ( this model, string queue, bool ifUnused = false, bool ifEmpty = false ) : uint
model this
queue string
ifUnused bool
ifEmpty bool
return uint

QueueDeleteNoWait() public static method

(Extension method) Like QueueDelete but sets nowait to true.
public static QueueDeleteNoWait ( this model, string queue, bool ifUnused = false, bool ifEmpty = false ) : void
model this
queue string
ifUnused bool
ifEmpty bool
return void

QueueUnbind() public static method

(Spec method) Unbinds a queue.
public static QueueUnbind ( this model, string queue, string exchange, string routingKey, object>.IDictionary arguments = null ) : void
model this
queue string
exchange string
routingKey string
arguments object>.IDictionary
return void