Eliassen.MessageQueueing.Abstractions 0.1.85

This package has a SemVer 2.0.0 package version: 0.1.85+2.
dotnet add package Eliassen.MessageQueueing.Abstractions --version 0.1.85                
NuGet\Install-Package Eliassen.MessageQueueing.Abstractions -Version 0.1.85                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Eliassen.MessageQueueing.Abstractions" Version="0.1.85" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eliassen.MessageQueueing.Abstractions --version 0.1.85                
#r "nuget: Eliassen.MessageQueueing.Abstractions, 0.1.85"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Eliassen.MessageQueueing.Abstractions as a Cake Addin
#addin nuget:?package=Eliassen.MessageQueueing.Abstractions&version=0.1.85

// Install Eliassen.MessageQueueing.Abstractions as a Cake Tool
#tool nuget:?package=Eliassen.MessageQueueing.Abstractions&version=0.1.85                

Eliassen.MessageQueueing.Abstractions

Overview

The Eliassen.MessageQueueing.Abstractions library provides a comprehensive abstraction layer for interacting with message queues in .NET applications. It offers interfaces and classes for handling messages, sending messages, and receiving messages from various message queues. These abstractions enable developers to decouple their application logic from specific message queue implementations, facilitating easier testing, extensibility, and maintenance.

Key Features

  • Message Handling: Provides generic interfaces for handling messages from message queues, allowing for flexible message processing logic.
  • Message Sending: Offers generic interfaces for sending messages to message queues, supporting asynchronous message transmission.
  • Message Context: Defines a message context interface to encapsulate metadata associated with messages, such as origin message ID, correlation ID, and message type.
  • Extensibility: Enables developers to implement custom message queue handlers, senders, and receivers, supporting a wide range of message queue systems.
  • Configurability: Allows for configuration-based setup of message queue providers, handlers, and senders, facilitating easy integration with different messaging platforms.
  • Ease of Testing: Facilitates unit testing by providing interfaces that can be easily mocked or stubbed, allowing for isolated testing of message handling and sending logic.

Getting Started

To use Eliassen.MessageQueueing.Abstractions in your .NET project, simply install the library via NuGet Package Manager:

dotnet add package Eliassen.MessageQueueing.Abstractions

## Usage Example

Here's a simple example demonstrating how to handle messages from a message queue using Eliassen.MessageQueueing.Abstractions:

```csharp
using Eliassen.MessageQueueing.Abstractions;

public class MyMessageHandler : IMessageQueueHandler
{
    public async Task HandleAsync(object message, IMessageContext context)
    {
        // Custom message handling logic
        await Task.CompletedTask;
    }
}

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Eliassen.MessageQueueing.Abstractions:

Package Downloads
Eliassen.MailKit.Hosting

Package Description

Eliassen.MessageQueueing

Package Description

Eliassen.RabbitMQ

Package Description

Eliassen.Azure.StorageAccount

Package Description

Eliassen.MessageQueueing.Hosting

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.85 43 10/10/2024
0.1.84 39 10/10/2024
0.1.83 52 9/27/2024
0.1.82 219 8/23/2024
0.1.81 211 8/1/2024
0.1.81-dev-gh-pipline.3 47 8/1/2024