change queue name
All checks were successful
Build and Publish / build-release (push) Successful in 1m35s
All checks were successful
Build and Publish / build-release (push) Successful in 1m35s
This commit is contained in:
@@ -8,10 +8,12 @@ defmodule PolicyService.Consumers.QuoteTaskConsumer do
|
||||
alias PolicyService.Aggregates.PolicyId
|
||||
|
||||
@exchange "workload_service.events.quote_task_completed"
|
||||
@queue "policy_service.quote_task_consumer"
|
||||
@queue "policy_service.quote_task_completed"
|
||||
@routing_key "quote_task.completed"
|
||||
|
||||
def start_link(opts \\ []), do: GenServer.start_link(__MODULE__, opts, name: __MODULE__)
|
||||
def start_link(opts \\ []) do
|
||||
GenServer.start_link(__MODULE__, opts, name: __MODULE__)
|
||||
end
|
||||
|
||||
def init(_opts) do
|
||||
{:ok, conn} = AMQP.Connection.open(Application.fetch_env!(:policy_service, :amqp_url))
|
||||
|
||||
Reference in New Issue
Block a user