Amqpx.Gen.Consumer behaviour (amqpx v6.0.3)
Generic implementation of amqp consumer
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Types
Callbacks
Link to this callback
handle_message(any, map, map)
Link to this callback
setup t
@callback setup(Amqpx.Channel.t()) :: {:ok, map()} | {:error, any()}
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
init(opts)
Callback implementation for GenServer.init/1
.
Link to this function
start_link(opts)
@spec start_link(opts :: map()) :: GenServer.server()