Behaviours: gen_server.
RabbitMQ consumer.
Opens its own channel on the shared connection, optionally declares
the exchange (AMQP_EXCHANGE, AMQP_EXCHANGE_TYPE), the durable
queue (AMQP_QUEUE) and one binding per AMQP_ROUTING_KEYS entry,
sets the prefetch, and consumes.
notifier_event) or a JSON array of them. Per message:
notifier_dispatch:submit/1 (the
worker pools deliver asynchronously) and ACKed;| handle_body/1 | Process one message body; exported for tests. |
| handle_call/3 | |
| handle_cast/2 | |
| handle_info/2 | |
| init/1 | |
| start_link/1 | |
| terminate/2 |
handle_body(Body::binary()) -> ack | reject
Process one message body; exported for tests.
handle_call(Req, From, S) -> any()
handle_cast(Msg, S) -> any()
handle_info(Info, S) -> any()
init(X1) -> any()
start_link(Id::pos_integer()) -> gen_server:start_ret()
terminate(Reason, S) -> any()
Generated by EDoc