amqpx v5.3.2 Amqpx.Gen.Producer

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 type

state()

state() :: %Amqpx.Gen.Producer{
  backoff: term(),
  channel: term(),
  exchanges: term(),
  publish_timeout: term(),
  publisher_confirms: term()
}

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.

Callback implementation for GenServer.init/1.

Link to this function

publish(name, routing_key, payload, options \\ [])

publish(String.t(), String.t(), String.t(), Keyword.t()) :: :ok | :error
Link to this function

start_link(opts)