queue name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-05-22 04:34:16 +02:00
parent 495ebae5f9
commit 9074619914
2 changed files with 3 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ fun Application.module() {
val queueName = channel.queueDeclare().queue
channel.queueBind(queueName, rabbitExchangeName, "")
channel.basicConsume(rabbitExchangeName, true, DatabaseConsumer())
channel.basicConsume(queueName, true, DatabaseConsumer())
routing {
install(StatusPages) {