C# Class RabbitMQ.Client.Examples.LowlevelLogTail.MyConsumer

Subclass of the very low-level DefaultBasicConsumer
Be warned: the threading issues involved in using DefaultBasicConsumer can be subtle! Usually, QueueingBasicConsumer is what you want. Please see the comments attached to DefaultBasicConsumer, as well as the section on DefaultBasicConsumer and threading in the user manual.
Inheritance: RabbitMQ.Client.DefaultBasicConsumer
Show file Open project: NashDotNet/rabbitlab

Public Methods

Method Description
HandleBasicDeliver ( string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, IBasicProperties properties, byte body ) : void
MyConsumer ( IModel ch ) : System

Method Details

HandleBasicDeliver() public method

public HandleBasicDeliver ( string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, IBasicProperties properties, byte body ) : void
consumerTag string
deliveryTag ulong
redelivered bool
exchange string
routingKey string
properties IBasicProperties
body byte
return void

MyConsumer() public method

public MyConsumer ( IModel ch ) : System
ch IModel
return System