API Reference amqp_sidecar v#0.1.0

Copy Markdown

Modules

Behaviour abstracting the AMQP client.

AmqpSidecar.Broker implementation backed by the amqp client.

Parses and validates the broker.json configuration

Dynamically creates AMQP consumers based on the configuration.

Behaviour abstracting outbound HTTP calls (message forwarding).

Metrics for the application

Publishes messages to an AMQP exchange with a given routing key.

Behaviour for message publishing, allowing the HTTP layer to be tested with AmqpSidecar.Publisher.Mock (Mox).

Handles the message publishing endpoint

Logs incoming requests