This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user