IMessagingService
Properties
Functions
Link copied to clipboard
abstract suspend fun exchangeDeclare(exchange: IMessagingExchange, type: String = BuiltinExchangeType.DIRECT, arguments: Map<String, Field> = mapOf())
Declares an exchange with the specified parameters.
Link copied to clipboard
abstract suspend fun queueBind(queue: IMessagingQueue, exchange: IMessagingExchange, routingKey: IMessagingKey, arguments: Map<String, Field> = mapOf())
Binds a queue to an exchange with the specified routing key and arguments.
Link copied to clipboard
abstract suspend fun queueDeclare(queue: IMessagingQueue, exchange: IMessagingExchange? = null, durable: Boolean = true, exclusive: Boolean = false, autoDelete: Boolean = false, arguments: Map<String, Field> = mapOf())
Declares a queue with the specified parameters.