Amqpx.Gen.Consumer behaviour (amqpx v6.0.1)
Generic implementation of amqp consumer
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 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()}
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
init(opts)
Callback implementation for GenServer.init/1
.
Link to this function
start_link(opts)
@spec start_link(opts :: map()) :: GenServer.server()