Refactor ConsumerInitWorker to use IHostedService

Refactored the `ConsumerInitWorker` class to implement the
`IHostedService` interface, replacing `BackgroundService`.
Replaced `ExecuteAsync` with `StartAsync` and `StopAsync`
methods. Added a log statement for successful initialization
of `SendingEmailConsumerPool`.

Updated `DigitalData.MessagingService.API.csproj` to increment
version numbers:
- `Version`: 2.2.0-beta -> 2.2.1-beta
- `FileVersion`: 2.2.0.0 -> 2.2.1.0
- `AssemblyVersion`: 2.2.0.0 -> 2.2.1.0

These changes introduce minor improvements and bug fixes
without breaking changes.
This commit is contained in:
2026-11-16 16:51:46 +01:00
parent a1165121d1
commit ef39263f82
2 changed files with 10 additions and 9 deletions

View File

@@ -10,9 +10,9 @@
<Authors>Digital Data GmbH</Authors>
<Company>Digital Data GmbH</Company>
<Product>DigitalData.MessagingService.API</Product>
<Version>2.2.0-beta</Version>
<FileVersion>2.2.0.0</FileVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<Version>2.2.1-beta</Version>
<FileVersion>2.2.1.0</FileVersion>
<AssemblyVersion>2.2.1.0</AssemblyVersion>
<Copyright>Copyright © 2026 Digital Data GmbH. All rights reserved.</Copyright>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>