Anarchy.Toolkit.Core.Messaging.Abstractions 3.0.0

dotnet add package Anarchy.Toolkit.Core.Messaging.Abstractions --version 3.0.0
                    
NuGet\Install-Package Anarchy.Toolkit.Core.Messaging.Abstractions -Version 3.0.0
                    
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="3.0.0" />
                    
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="3.0.0" />
                    
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 3.0.0
                    
#r "nuget: Anarchy.Toolkit.Core.Messaging.Abstractions, 3.0.0"
                    
#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@3.0.0
                    
#: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=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Anarchy.Toolkit.Core.Messaging.Abstractions&version=3.0.0
                    
Install as a Cake Tool

Anarchy.Toolkit.Core.Messaging.Abstractions

Part of Anarchy I/O Toolkit, a .NET developer platform · Pillar: Infrastructure · Layer: Core · Package catalog

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

dotnet add package Anarchy.Toolkit.Core.Messaging.Abstractions

When to use it

Reference these contracts in application code that publishes messages but should not know whether SNS, SQS, Kafka 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("users", source: "oauth");
var message = builder.Build("{\"userId\":123}");
await publisher.PublishAsync(message, cancellationToken);

Register a concrete IMessageBrokerPublisher in the host and resolve the appropriate keyed publisher. The builder also accepts partition keys, optional deduplication IDs and attributes; enum destinations are resolved through their descriptions. An inbound message's BrokerReference is an opaque broker location, not necessarily an acknowledgement token. Batch publishing can report per-chunk outcomes and may throw if any chunk fails, so handle partial success deliberately.

See the toolkit overview.

Releases

See the release notes for the complete release history.

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 (3)

Showing the top 3 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.

Anarchy.Toolkit.Infrastructure.Messaging.Kafka

Apache Kafka publisher and inbound mapping for the message-broker contracts.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 79 11/24/2026
2.0.1 141 11/21/2026
2.0.0 146 11/20/2026
1.1.1 236 11/17/2026
1.1.0 213 11/17/2026
1.0.6 202 11/16/2026
1.0.5 229 11/14/2026
1.0.4 257 11/9/2026
1.0.3 179 11/9/2026
1.0.1 287 11/6/2026
1.0.0 207 11/5/2026

## Releases

### 3.0.0

- Breaking: Use the broker-neutral `BrokerReference` for received message references and allow an optional outbound deduplication ID.
- Preserve a read-only snapshot of message attributes for transport-independent mapping.

### 2.0.1

- chore(build): Format package release notes property

### 2.0.0

- feat(automation): establish onboarding and layering conventions
- feat(telemetry)!: introduce provider-neutral application telemetry
- refactor(packages)!: restructure persistence and automation packages
- refactor(core)!: reshape telemetry, event and health contracts
- refactor(telemetry)!: remove legacy APIs and simplify namespaces

### 1.1.1

- docs(packages): identify each package's pillar and layer
- build(packages): attribute the copyright to Leandro Melão Medeiros
- build: relicense under Apache-2.0 and update the package metadata

### 1.1.0

- build(deps): upgrade Swashbuckle.AspNetCore to 11.0.1 and Microsoft.OpenApi to 3.11.1

### 1.0.6

- docs: expand XML docblocks across all projects for the DocFX API reference

### 1.0.5

- refactor(src): clean up code style across library packages

### 1.0.3

- build: migrate local automation to build tooling

### 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.