Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit 9bdb6e8

Browse files
author
Anton Vorontsov
committed
Changelog and some other documentation fixes.
1 parent 6433931 commit 9bdb6e8

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

docs/changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
All notable changes to this library will be documented in this file.
44

5-
## [4.2.0] - will be drafted
5+
## [4.2.0] - 2020-10-01
66

77
### Added
88

99
- Options that can allow configuring behaviour of re-queueing messages. New properties `RequeueTimeoutMilliseconds` and `RequeueAttempts` added to `RabbitMqExchangeOptions`.
10+
- `MessageHandlingPeriod` property for batch message handlers. That feature allows you to execute even unfilled batches each time period expires.
1011

1112
### Changed
1213

docs/message-consumption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ The message handling process organized as follows:
317317
There are also a feature that you can use in case of necessity of handling messages in batches.
318318
First of all you have to create a class that inherits a `BatchMessageHandler` class.
319319
You have to set up values for `QueueName` and `PrefetchCount` properties. These values are responsible for the queue that will be read by the message handler, and the size of batches of messages. You can also set a `MessageHandlingPeriod` property value and the method `HandleMessage` will be executed repeatedly so messages in unfilled batches could be processed too, but keep in mind that this property is optional.
320-
Be aware that batch message handlers *do not declare queues*, so if it does not exist an exception will be thrown. Either declare manually or using RabbitMqClient configuration features.
320+
Be aware that batch message handlers **do not declare queues**, so if it does not exist an exception will be thrown. Either declare manually or using RabbitMqClient configuration features.
321321

322322
```c#
323323
public class CustomBatchMessageHandler : BatchMessageHandler

docs/message-production.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ The image below shows a model of the whole process of passing the message from t
118118

119119
**Prerequisites.** Let's say that producer want to send a message to the exchange **"Exchange B"** with a routing key **"routing.key"**, and a delay in **30 milliseconds**.
120120
- Message goes to the exchange **"Exchange A"** whose responsibility is to manage delaying (storing) the message.
121-
- After that a queue with a compound name and special arguments is being created. Name consists of three parts: the routing key of the sent message, a word "delayed", and a number of delay milliseconds .
121+
- After that a queue with a compound name and special arguments will be created. Name consists of three parts: the routing key of the message that has been sent, a word "delayed", and a number of delay milliseconds.
122122
Queue arguments are as follows.
123123
```
124124
x-dead-letter-exchange : Exchange В

docs/rabbit-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Map that configuration using standard `GetSection` method.
224224
var rabbitMqConfiguration = Configuration.GetSection("RabbitMq");
225225
```
226226

227-
And pass it to the `AddRabbitMqClient` extension method as always.
227+
Pass it to the `AddRabbitMqClient` extension method as always.
228228

229229
```c#
230230
services.AddRabbitMqClient(rabbitMqConfiguration);

src/RabbitMQ.Client.Core.DependencyInjection/RabbitMQ.Client.Core.DependencyInjection.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<LangVersion>latest</LangVersion>
6-
<Version>4.1.1</Version>
6+
<Version>4.2.0</Version>
77
<PackageTags>RabbitMQ</PackageTags>
88
<RepositoryUrl>https://github.com/AntonyVorontsov/RabbitMQ.Client.Core.DependencyInjection</RepositoryUrl>
99
<RepositoryType>GIT</RepositoryType>

0 commit comments

Comments
 (0)