Skip to content

Commit

Permalink
auto-delete was not being used
Browse files Browse the repository at this point in the history
  • Loading branch information
dselans committed Sep 14, 2024
1 parent 5a01c89 commit 831853d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions backends/rabbitmq/rabbitmq.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,16 @@ func (r *RabbitMQ) newRabbitForRead(readArgs *args.RabbitReadArgs) (rabbit.IRabb
ExchangeName: readArgs.ExchangeName,
},
},
QueueExclusive: readArgs.QueueExclusive,
QueueDurable: readArgs.QueueDurable,
QueueDeclare: readArgs.QueueDeclare,
AutoAck: readArgs.AutoAck,
ConsumerTag: readArgs.ConsumerTag,
UseTLS: r.connArgs.UseTls,
SkipVerifyTLS: r.connArgs.TlsSkipVerify,
Mode: rabbit.Consumer,
QueueArgs: mapToTable(readArgs.QueueArg),
QueueExclusive: readArgs.QueueExclusive,
QueueDurable: readArgs.QueueDurable,
QueueDeclare: readArgs.QueueDeclare,
QueueAutoDelete: readArgs.QueueDelete,
AutoAck: readArgs.AutoAck,
ConsumerTag: readArgs.ConsumerTag,
UseTLS: r.connArgs.UseTls,
SkipVerifyTLS: r.connArgs.TlsSkipVerify,
Mode: rabbit.Consumer,
QueueArgs: mapToTable(readArgs.QueueArg),
})

if err != nil {
Expand Down

0 comments on commit 831853d

Please sign in to comment.