Skip to content

Commit 860694f

Browse files
author
Alexandru Scvortov
committed
added missing initialisation
1 parent 743e3fa commit 860694f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public Subscription(IModel model, string queueName)
139139
public Subscription(IModel model, string queueName, bool noAck)
140140
{
141141
m_model = model;
142-
// FIXME Check if a queue with queueName exists.
142+
m_queueName = queueName;
143143
m_consumer = new QueueingBasicConsumer(m_model);
144144
m_consumerTag = m_model.BasicConsume(m_queueName, m_noAck, null, m_consumer);
145145
m_latestEvent = null;

0 commit comments

Comments
 (0)