subscribex v0.10.0-rc.0 Subscribex.TestBroker

Summary

Types

callback_return :: term
monitor :: reference

Functions

ack(channel, delivery_tag)
channel(link)

Specs

channel(:link | :no_link | :monitor | (... -> any)) ::
  %AMQP.Channel{conn: term, pid: term} |
  {%AMQP.Channel{conn: term, pid: term}, monitor} |
  any
channel(callback, args \\ [])

Specs

channel(callback, [term]) :: callback_return
channel(module, function, args)

Specs

channel(module, atom, [any]) :: any
close(channel)
publish(exchange, routing_key, payload, options \\ [])
publish_sync(exchange, routing_key, payload, options \\ [])
reject(channel, delivery_tag, options)
start_link(opts \\ [])