fix consumer durable
This commit is contained in:
parent
a098620b7b
commit
67f6be635c
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ var factory = new ConnectionFactory()
|
|||
using var connection = factory.CreateConnection();
|
||||
using var channel = connection.CreateModel();
|
||||
|
||||
channel.QueueDeclare(queue: "bma-checkin-queue", durable: false, exclusive: false, autoDelete: false, arguments: null);
|
||||
channel.QueueDeclare(queue: "bma-checkin-queue", durable: true, exclusive: false, autoDelete: false, arguments: null);
|
||||
|
||||
var consumer = new EventingBasicConsumer(channel);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue