Compze.Tessaging
0.21.1-alpha
Prefix Reserved
See the version list below for details.
dotnet add package Compze.Tessaging --version 0.21.1-alpha
NuGet\Install-Package Compze.Tessaging -Version 0.21.1-alpha
<PackageReference Include="Compze.Tessaging" Version="0.21.1-alpha" />
<PackageVersion Include="Compze.Tessaging" Version="0.21.1-alpha" />
<PackageReference Include="Compze.Tessaging" />
paket add Compze.Tessaging --version 0.21.1-alpha
#r "nuget: Compze.Tessaging, 0.21.1-alpha"
#:package Compze.Tessaging@0.21.1-alpha
#addin nuget:?package=Compze.Tessaging&version=0.21.1-alpha&prerelease
#tool nuget:?package=Compze.Tessaging&version=0.21.1-alpha&prerelease
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, andITevent - 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; aBestEffortEndpointDeclarationbuilds an endpoint giving the engine identity and a wire with nothing persisted anywhere; anExactlyOnceEndpointDeclarationadds the durable vertical (inbox, outbox, durable peer memory, the tommand senders) through which endpoints converse with delivery guarantees.TypermediaClientis 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
Related packages
| Package | Description |
|---|---|
| Compze.Abstractions | Shared abstractions |
| Compze.Teventive.TeventStore | The tevent store implementation |
| Compze.Tessaging.Hosting.Testing | Testing support |
License
Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Compze.Abstractions (>= 0.8.0-alpha)
- Compze.Contracts (>= 0.7.2)
- Compze.DependencyInjection (= 0.13.0-alpha)
- Compze.Internals.Logging (>= 0.9.0-alpha)
- Compze.Internals.SystemCE (>= 0.18.0-internal)
- Compze.Tessaging.Abstractions (= 0.12.0-alpha)
- Compze.Threading (>= 0.16.0-alpha)
- Compze.TypeIdentifiers (>= 0.6.0-alpha)
- Compze.TypeIdentifiers.DependencyInjection (>= 0.2.0-alpha)
- Compze.Underscore (>= 0.6.0-beta)
- Compze.Unit (>= 0.6.0-beta)
- Microsoft.Extensions.Caching.Memory (>= 9.0.9)
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.PostgreSql
For Compze internal use only. Do not take a direct dependency on this package. PostgreSQL inbox/outbox backend for Compze messaging. |
|
|
Compze.Tessaging.Sqlite
For Compze internal use only. Do not take a direct dependency on this package. SQLite 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 |
- A client that meets an endpoint of another version of the transport protocol fails at once with a `TessageNotExecutedException` that names both versions and says which of the two processes to upgrade. Before, it took the endpoint for one that was not there, or its call ended as outcome unknown.
- Over named pipes the client tells from the pipe's name, and does not connect. Over TCP it tells from what the endpoint answers its connection with, and over HTTP from the answer to its request. It does not try such an endpoint again.
- An endpoint tells a client of another version which version it speaks, over TCP and HTTP, and logs a warning that names both and says which process to upgrade. Before, it closed such a client's TCP connection without a word.
- An endpoint whose registry lists an endpoint of another version passes it over. When a typermedia call then finds no handler within the handler-availability patience, its `NoHandlerForTypermediaTypeException` names each endpoint passed over, both versions and which process to upgrade.
- This is so that the next change of the protocol shows as what it is. A client of 0.19.0-alpha or earlier is unchanged: it still takes a later endpoint's pipe for one that is not there.
- **Requires newer minor versions of other Compze packages:** Compze.TypeIdentifiers 0.6.0-alpha (was 0.5.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.