API Reference White Rabbit v0.2.0

modules

Modules

WhiteRabbit AMQP channel GenServer.

Supervisor of multiple AMQP Channels.

GenServer to open a %AMQP.Connection{} and monitors it to allow for :stop events and restarts from Supervisor.

Consumer GenServer that will handle connecting to a channel using a configured connection and then declare an exchange and queue to handle messages from a RabbitMQ broker server.

Consumer State Struct for WhiteRabbit Consumer GenServers.

Contains helper and util functions for the entire WhiteRabbit library.

Supervisor of multiple DynamicSupervisors that will handle starting Consumers and Producers.

WhiteRabbit Supervisor that handles the main topology of WhiteRabbit and its children.

Processor behavior that modules can use to implememnt common callbacks to consume message payloads.

Module for defining a WhiteRabbit.Processor configuration struct.

WhiteRabbit.Producer behaviour module that publishes messages using its callbacks.

RPC module that handles decoding, encoding, and processing of RPC calls.

RPC config struct given at app startup to configure the service consumer, replies consumer, and register it under the service_name.

RPC message modlue that defines a struct and convert functions.