RabbitMQNotificationsConsumer

class RabbitMQNotificationsConsumer(notificationPublisher: NotificationPublisher, configuration: RabbitMQ.Configuration, dispatcher: CoroutineDispatcher = Dispatchers.IO) : RabbitMQMessageHandler

RabbitMQ notification commands consumer adapter.

Constructors

Link copied to clipboard
constructor(notificationPublisher: NotificationPublisher, configuration: RabbitMQ.Configuration, dispatcher: CoroutineDispatcher = Dispatchers.IO)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun setup(): Result<Unit>

Set up the RabbitMQ connection and declare the exchange and queue. Here side effects occur.