You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The White Rabbit is a [fast](https://github.com/viartemev/the-white-rabbit/issues/88#issuecomment-470461937) and asynchronous RabbitMQ (AMQP) client library based on Kotlin coroutines. Currently the following features are supported:
8
-
* Queue and exchange manipulations
9
-
* Message publishing with confirmation
10
-
* Message consuming with acknowledgment
11
-
* Transactional publishing and consuming
12
-
* RPC pattern
5
+
The RabbitMQ Kotlin Coroutine Library is designed to provide Kotlin developers with an efficient, coroutine-based approach to interact with RabbitMQ.
6
+
This library simplifies message queue operations by integrating seamlessly with Kotlin's coroutines, offering a modern and reactive way to handle asynchronous messaging in Kotlin applications.
7
+
It supports a variety of advanced features including queue and exchange manipulations, message publishing with confirmation, message consuming with acknowledgment, transactional operations, and the Remote Procedure Call (RPC) pattern.
13
8
14
-
## Adding to project
9
+
## Features
15
10
16
-
## Usage notes and examples
11
+
-**Queue and Exchange Manipulations**: Easily create, delete, and configure queues and exchanges. Supports all RabbitMQ exchange types (direct, topic, headers, fanout) and offers flexible options for queue bindings and attributes.
12
+
-**Message Publishing with Confirmation**: Publish messages to queues with the option to receive confirmations, ensuring reliable delivery and handling of messages.
13
+
-**Message Consuming with Acknowledgment**: Consume messages from queues with acknowledgment support, allowing for precise control over message processing and acknowledging.
14
+
-**Transactional Publishing and Consuming**: Support for transactional operations, enabling the grouping of publish and consume actions into atomic units, ensuring data consistency and reliability.
15
+
-**RPC Pattern Implementation**: Facilitates the implementation of the RPC pattern, allowing for easy setup of request-response message flows, suitable for service-oriented architectures.
17
16
18
-
Use one of the extension methods on `com.rabbitmq.client.Connection` to get a channel you need:
17
+
## Getting Started
19
18
20
-
```kotlin
21
-
connection.channel {
22
-
/*
23
-
The plain channel with consumer acknowledgments, supports:
24
-
-- queue and exchange manipulations
25
-
-- asynchronous consuming
26
-
-- RPC pattern
27
-
*/
28
-
}
29
-
30
-
connection.confirmChannel { //
31
-
/*
32
-
Channel with publisher confirmations, additionally supports:
0 commit comments