Amqpx.Gen.Producer (amqpx v6.0.2)
Generic implementation of amqp producer
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Link to this section Types
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
do_publish_by(producer_name, exchange_name, routing_key, payload, options, attempt)
Link to this function
init(opts)
Callback implementation for GenServer.init/1
.
Link to this function
publish(exchange_name, routing_key, payload, options \\ [])
Link to this function
publish_by(producer_name, exchange_name, routing_key, payload, options \\ [])
@spec publish_by( producer_name :: GenServer.name(), exchange_name :: String.t(), routing_key :: String.t(), payload :: String.t(), options :: Keyword.t() ) :: :ok | :error
Link to this function
start_link(opts)
@spec start_link(opts :: map()) :: GenServer.server()