HareMq.Ddc (hare_mq v0.1.0)
Summary
Functions
Link to this function
child_spec(opts)
Link to this function
consume(message)
Callback for processing incoming messages.
Implement this callback in your consumer module to define how to handle incoming messages.
Examples
defmodule MyConsumer do
use HareMq.Consumer, queue_name: "my_queue", routing_key: "my_routing_key"
def consume(message) do
IO.puts("Received message: #{inspect(message)}")
:ok
end
end
Link to this function
declare_queues(channel, config)
Link to this function
get_channel()
Link to this function
handle_call(atom, _, state)
Link to this function
handle_info(arg1, state)
Link to this function
init(_)
Link to this function
republish_dead_messages(count \\ 1)
Link to this function
start_link(opts \\ [])
Link to this function