Requires NuGet 2.2.1 or higher.
dotnet add package Emesary --version 2.4.4
NuGet\Install-Package Emesary -Version 2.4.4
<PackageReference Include="Emesary" Version="2.4.4" />
paket add Emesary --version 2.4.4
#r "nuget: Emesary, 2.4.4"
// Install Emesary as a Cake Addin #addin nuget:?package=Emesary&version=2.4.4 // Install Emesary as a Cake Tool #tool nuget:?package=Emesary&version=2.4.4
The basic premise of the Emesary messaging system is to allow the decoupled operation of the various components that comprise any system - usually within the same process.
The basic unit of communication is a Notification, which is passed around to any and or all objects that implement the IReceive interface. Using Interfaces and ihneritance it is possible to pass around Notifications that have special meanings to certain objects and allow them to perform the appropriate function.
In our design Notifications are created and sent via a call to NotifyAll. Any object within the system can implement the IReceive interface and register itself with either a Queue (WIP) or a Transmitter to receive all notifications that are sent out. The underlying concept is that one part of a system knows that something needs to be done without needing to know how to do it. The part of the system that needs something done simply creates a notification and sends it out. Once received by the part of the system that is capable of performing the requested Notification the relevant actions will be carried out and a status of OK or Finished returned. See the section on return codes for a complete explanation of these codes and what they mean.
|.NET||net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows|
|.NET Core||netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1|
|.NET Standard||netstandard2.0 netstandard2.1|
|.NET Framework||net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481|
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Emesary:
MSMQ Bridge for Emesary
This package is not used by any popular GitHub repositories.
2.4.1 Change queued notification list to use ConcurrentQueue rather than List to fix threading issues.
2.4.0 Added support for .NET standard 2.0
2.3.0 Support for 3.5 removed. Use concurrent dictionary from 4.0 to fix concurrency issue
2.2.0 Added ITrackedNotification interface to facilitate asynchronous wait operations based on tracking ID
2.1.0 Added variants for .NET supported versions (3.5, 4, 4.5x, 4.6x)
2.0.8 Added Bridge to Queue recipient.
2.0.5 Fix inheritnace problem whereby QueuedTransmitter replaced the NotifyAll which was wrong.
2.0.4 Added missing event unlatch
2.0.3 Fix bug in delayed add; to permit concurrency we only add new receivers after messages processed, however the test was wrong. Added an AutoResetEvent onto the queue to allow better and more efficient thread processing.