Skip to content

Commit 731a133

Browse files
author
Emile Joubert
committed
Make use of noAck in Subscription
1 parent 572f9f7 commit 731a133

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/client/RabbitMQ.Client/src/client/messagepatterns/Subscription.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public Subscription(IModel model, string queueName, bool noAck)
138138
{
139139
m_model = model;
140140
m_queueName = queueName;
141+
m_noAck = noAck;
141142
m_consumer = new QueueingBasicConsumer(m_model);
142143
m_consumerTag = m_model.BasicConsume(m_queueName, m_noAck, null, m_consumer);
143144
m_latestEvent = null;

0 commit comments

Comments
 (0)