Anarchy.Toolkit.Core.Messaging.Abstractions 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anarchy.Toolkit.Core.Messaging.Abstractions --version 1.0.4
                    
NuGet\Install-Package Anarchy.Toolkit.Core.Messaging.Abstractions -Version 1.0.4
                    
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="Anarchy.Toolkit.Core.Messaging.Abstractions" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anarchy.Toolkit.Core.Messaging.Abstractions" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Anarchy.Toolkit.Core.Messaging.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Anarchy.Toolkit.Core.Messaging.Abstractions --version 1.0.4
                    
#r "nuget: Anarchy.Toolkit.Core.Messaging.Abstractions, 1.0.4"
                    
#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.
#:package Anarchy.Toolkit.Core.Messaging.Abstractions@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Anarchy.Toolkit.Core.Messaging.Abstractions&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Anarchy.Toolkit.Core.Messaging.Abstractions&version=1.0.4
                    
Install as a Cake Tool

Anarchy.Toolkit.Core.Messaging.Abstractions

Contracts and entities for publishing and receiving broker messages without coupling application code to a broker.

dotnet add package Anarchy.Toolkit.Core.Messaging.Abstractions
  • Depend on IMessageBrokerPublisher for outbound publishing.
  • Model inbound and outbound messages and construct outbound messages with OutboundMessageBuilder.
  • Supply a concrete broker adapter, such as Infrastructure.Messaging.Aws, at the composition root.

When to use it

Reference these contracts in application code that publishes messages but should not know whether SNS, SQS or another broker sends them. The package defines the message shape and publishing interface; it does not connect to a broker or consume messages on its own.

How to use it

Create an outbound message from an already serialized body and pass it to an injected publisher. The destination and optional source are application-defined names:

using Anarchy.Toolkit.Core.Messaging.Abstractions.Service.MessageBroker;

var builder = new OutboundMessageBuilder("orders", source: "checkout");
var message = builder.Build("{\"orderId\":123}");
await publisher.PublishAsync(message, cancellationToken);

Register a concrete IMessageBrokerPublisher in the host and resolve the appropriate keyed publisher when using the AWS adapters. The builder also accepts partition keys and attributes; enum destinations are resolved through their descriptions. Batch publishing can report per-chunk outcomes and may throw if any chunk fails, so handle partial success deliberately.

See the toolkit overview.

Releases

1.0.4

  • chore(docs): Update release notes

1.0.3

  • build: migrate local automation to NUKE

1.0.2

  • docs: expand package guides and release histories

1.0.1

  • Added a package-specific NuGet README.

1.0.0

  • Introduced transport-agnostic message entities, outbound message building, publisher contracts and exceptions.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Anarchy.Toolkit.Core.Messaging.Abstractions:

Package Downloads
Anarchy.Toolkit.Core.Events

Events: an in-process (local) publish/subscribe bus with DI-based handler dispatch, and a generic domain-event processing pipeline (event envelopes, processors, and handler bus).

Anarchy.Toolkit.Infrastructure.Messaging.Aws

AWS SNS and SQS implementations of the message-broker publisher abstraction, with the shared publisher base, request-builder base, inbound mapping, and compression.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1 0 11/21/2026
2.0.0 0 11/20/2026
1.1.1 176 11/17/2026
1.1.0 160 11/17/2026
1.0.6 179 11/16/2026
1.0.5 224 11/14/2026
1.0.4 254 11/9/2026
1.0.3 176 11/9/2026
1.0.1 284 11/6/2026
1.0.0 204 11/5/2026

Initial release.