Compze.Tessaging 0.27.4-alpha

Prefix Reserved
This is a prerelease version of Compze.Tessaging.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Compze.Tessaging --version 0.27.4-alpha
                    
NuGet\Install-Package Compze.Tessaging -Version 0.27.4-alpha
                    
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="Compze.Tessaging" Version="0.27.4-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.Tessaging" Version="0.27.4-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.Tessaging" />
                    
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 Compze.Tessaging --version 0.27.4-alpha
                    
#r "nuget: Compze.Tessaging, 0.27.4-alpha"
                    
#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 Compze.Tessaging@0.27.4-alpha
                    
#: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=Compze.Tessaging&version=0.27.4-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.Tessaging&version=0.27.4-alpha&prerelease
                    
Install as a Cake Tool

Compze.Tessaging

Messaging infrastructure for the Compze framework.

What is Compze?

Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more

What's in this package?

This package provides the messaging infrastructure that powers Compze's type-routed communication:

  • Tommand, tuery, and tevent handling — Type-routed message dispatch for ITommand, ITuery, and ITevent
  • Message routing — Automatic routing based on .NET type compatibility
  • Three composed shapes — LocalTessagingEngine(...) composes the engine — the synchronous local core everything else rides — into a plain container with no transports at all; a BestEffortEndpointDeclaration builds an endpoint giving the engine identity and a wire with nothing persisted anywhere; an ExactlyOnceEndpointDeclaration adds the durable vertical (inbox, outbox, durable peer memory, the tommand senders) through which endpoints converse with delivery guarantees. TypermediaClient is the pure client — a navigator and a transport client with no server, for external applications

Type-routed messaging example

registrar
  .ForTevent<IUserTevent>(userTevent => Console.WriteLine("User tevent"))
  .ForTevent<IUserRegistered>(userRegistered => Console.WriteLine("User registered"));

When an IUserRegistered tevent (which implements IUserTevent) is published, both handlers are called — no manual routing needed.

Installation

dotnet add package Compze.Tessaging
Package Description
Compze.Abstractions Shared abstractions
Compze.Teventive.TeventStore The tevent store implementation
Compze.Tessaging.Hosting.Testing Testing support

License

Apache-2.0

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Compze.Tessaging:

Package Downloads
Compze.Tessaging.Hosting.Testing

Hosts test endpoints on a shared root with explicit transport and persistence, private discovery and tracking of tessages in flight.

Compze.Hosting

Endpoint hosting for the Compze framework — endpoints, endpoint hosts, and the builder that capabilities such as the Tessaging and Typermedia pipelines plug into.

Compze.Tessaging.Sqlite

Discontinued: this is its last version. Compze no longer supports SQLite: it runs one writer at a time, so it could never be a fully supported persistence layer. Use Compze.Tessaging.MicrosoftSql for SQL Server, Compze.Tessaging.PostgreSql for PostgreSQL or Compze.Tessaging.MySql for MySQL. For Compze internal use only. Do not take a direct dependency on this package. SQLite inbox/outbox backend for Compze messaging.

Compze.Tessaging.PostgreSql

For Compze internal use only. Do not take a direct dependency on this package. PostgreSQL inbox/outbox backend for Compze messaging.

Compze.Tessaging.MicrosoftSql

For Compze internal use only. Do not take a direct dependency on this package. SQL Server inbox/outbox backend for Compze messaging.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.28.0-alpha 0 12/5/2026
0.27.5-alpha 0 12/5/2026
0.27.4-alpha 0 12/5/2026
0.27.3-alpha 0 12/5/2026
0.27.2-alpha 0 12/5/2026
0.27.1-alpha 9 12/5/2026
0.27.0-alpha 33 12/5/2026
0.26.2-alpha 105 12/5/2026
0.26.1-alpha 66 12/5/2026
0.26.0-alpha 172 12/4/2026
0.25.2-alpha 81 12/4/2026
0.25.1-alpha 89 12/4/2026
0.25.0-alpha 78 12/4/2026
0.24.0-alpha 80 12/4/2026
0.23.0-alpha 114 12/3/2026
0.22.0-alpha 124 12/3/2026
0.21.2-alpha 74 12/3/2026
0.21.1-alpha 142 12/3/2026
0.21.0-alpha 105 12/3/2026
0.20.2-alpha 89 12/3/2026
Loading failed

- **Disposing an endpoint whose stop failed throws the failure the stop ended on, together with every failure after it.** Before, a failure releasing the endpoint's resources, such as a component of its container failing to dispose, replaced the stop's failure, and the failures of the application's code on background threads, such as a throwing tevent observer's, were not thrown at all. The disposal now throws them together, the stop's first. A single failure is thrown as it is, as before.
- **An endpoint whose transport had stopped accepting connections on a failure stops its transport once, and its stop and its disposal throw that failure.** Before, disposal stopped the transport again after the endpoint's container had disposed part of it, and with Microsoft's container threw an `ObjectDisposedException` in place of the failure. Such a failure ended a TCP endpoint's accepting on Windows before 0.27.2-alpha: a connection its client reset before the endpoint accepted it.