yggdrasil v3.0.2 Yggdrasil.Publisher.Adapter.RabbitMQ

A server for Redis publishing.

The name of a channel is a tuple containing the exchange name and the routing key respectively.

Summary

Functions

Publishes a message in a channel using a publisher

Starts a RabbitMQ publisher with a namespace. Additianally you can add GenServer options

Stops a RabbitMQ publisher

Functions

publish(publisher, channel, message)

Publishes a message in a channel using a publisher.

start_link(namespace, options \\ [])

Starts a RabbitMQ publisher with a namespace. Additianally you can add GenServer options.

stop(publisher)

Stops a RabbitMQ publisher.