yggdrasil_rabbitmq v4.1.5 Yggdrasil.Subscriber.Adapter.RabbitMQ.Connection View Source

This module defines a RabbitMQ connection handler. It does not connect until a process request a connection.

Link to this section Summary

Functions

Gets the RabbitMQ connection from the process identified by a pid

Starts a RabbitMQ connection handler with a namespace to get the options to connect to RabbitMQ. Additionally, GenServer options can be provided

Stops the RabbitMQ connection handler with its pid with an optional reason

Link to this section Functions

Gets the RabbitMQ connection from the process identified by a pid.

Link to this function start_link(namespace, options \\ []) View Source

Starts a RabbitMQ connection handler with a namespace to get the options to connect to RabbitMQ. Additionally, GenServer options can be provided.

Link to this function stop(pid, reason \\ :normal) View Source

Stops the RabbitMQ connection handler with its pid with an optional reason.