Class RabbitTemplate.DefaultTemplateConsumer
Inheritance
System.Object
RabbitTemplate.DefaultTemplateConsumer
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
protected class DefaultTemplateConsumer : RabbitTemplate.AbstractTemplateConsumer
Constructors
|
Edit this page
View Source
DefaultTemplateConsumer(RabbitMQ.Client.IModel, CountdownEvent, TaskCompletionSource<Delivery>, String, CancellationToken)
Declaration
public DefaultTemplateConsumer(RabbitMQ.Client.IModel channel, CountdownEvent latch, TaskCompletionSource<Delivery> completionSource, string queueName, CancellationToken cancelationToken)
Parameters
Type |
Name |
Description |
RabbitMQ.Client.IModel |
channel |
|
CountdownEvent |
latch |
|
TaskCompletionSource<Delivery> |
completionSource |
|
System.String |
queueName |
|
CancellationToken |
cancelationToken |
|
Methods
|
Edit this page
View Source
HandleBasicCancel(String)
Declaration
public override void HandleBasicCancel(string consumerTag)
Parameters
Type |
Name |
Description |
System.String |
consumerTag |
|
|
Edit this page
View Source
HandleBasicConsumeOk(String)
Declaration
public override void HandleBasicConsumeOk(string consumerTag)
Parameters
Type |
Name |
Description |
System.String |
consumerTag |
|
|
Edit this page
View Source
HandleBasicDeliver(String, UInt64, Boolean, String, String, RabbitMQ.Client.IBasicProperties, Byte[])
Declaration
public override void HandleBasicDeliver(string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, RabbitMQ.Client.IBasicProperties properties, byte[] body)
Parameters
Type |
Name |
Description |
System.String |
consumerTag |
|
System.UInt64 |
deliveryTag |
|
System.Boolean |
redelivered |
|
System.String |
exchange |
|
System.String |
routingKey |
|
RabbitMQ.Client.IBasicProperties |
properties |
|
System.Byte[] |
body |
|
|
Edit this page
View Source
HandleModelShutdown(Object, RabbitMQ.Client.ShutdownEventArgs)
Declaration
public override void HandleModelShutdown(object model, RabbitMQ.Client.ShutdownEventArgs reason)
Parameters
Type |
Name |
Description |
System.Object |
model |
|
RabbitMQ.Client.ShutdownEventArgs |
reason |
|