public class BasicDeliverEventArgs

Summary

Contains all the information about a message delivered from an AMQP broker within the Basic content-class.

Property Summary

Flags Type Name Summary
public IBasicProperties BasicProperties (rw)

The content header of the message.

public byte[] Body (rw)

The message body.

public string ConsumerTag (rw)

The consumer tag of the consumer that the message was delivered to.

public ulong DeliveryTag (rw)

The delivery tag for this delivery. See IModel.BasicAck.

public string Exchange (rw)

The exchange the message was originally published to.

public bool Redelivered (rw)

The AMQP "redelivered" flag.

public string RoutingKey (rw)

The routing key used when the message was originally published.

Constructor Summary

Flags Name Summary
public BasicDeliverEventArgs()

Default constructor.

public BasicDeliverEventArgs(string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, IBasicProperties properties, byte[] body)

Constructor that fills the event's properties from its arguments.

Property Detail

public IBasicProperties BasicProperties (rw)

Summary

The content header of the message.

public byte[] Body (rw)

Summary

The message body.

public string ConsumerTag (rw)

Summary

The consumer tag of the consumer that the message was delivered to.

public ulong DeliveryTag (rw)

Summary

The delivery tag for this delivery. See IModel.BasicAck.

public string Exchange (rw)

Summary

The exchange the message was originally published to.

public bool Redelivered (rw)

Summary

The AMQP "redelivered" flag.

public string RoutingKey (rw)

Summary

The routing key used when the message was originally published.

Constructor Detail

BasicDeliverEventArgs

public BasicDeliverEventArgs()

Summary

Default constructor.

BasicDeliverEventArgs

public BasicDeliverEventArgs(string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, IBasicProperties properties, byte[] body)

Parameters
Name Type
consumerTag string
deliveryTag ulong
redelivered bool
exchange string
routingKey string
properties IBasicProperties
body byte[]

Summary

Constructor that fills the event's properties from its arguments.