fix pattern matching
All checks were successful
Build and Publish / build-release (push) Successful in 1m24s
All checks were successful
Build and Publish / build-release (push) Successful in 1m24s
This commit is contained in:
@@ -17,7 +17,7 @@ defmodule WorkloadService.Consumers.QuoteRequestedConsumer do
|
||||
{:ok, conn} = AMQP.Connection.open(amqp_url())
|
||||
{:ok, channel} = AMQP.Channel.open(conn)
|
||||
|
||||
:ok = AMQP.Queue.declare(channel, @queue, durable: true)
|
||||
{:ok, _} = AMQP.Queue.declare(channel, @queue, durable: true)
|
||||
:ok = AMQP.Queue.bind(channel, @queue, @exchange, routing_key: @routing_key)
|
||||
{:ok, _tag} = AMQP.Basic.consume(channel, @queue)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user