Flowly.InMemory 1.1.1

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

Flowly.InMemory

In-memory transport provider for Flowly. All messaging operations run entirely in-process using .NET channels — no external broker is required.

When to use

  • Testing — fast, deterministic handler tests without a running broker
  • Local development — get up and running instantly with no Docker or cloud setup
  • Lightweight scenarios — single-process apps that don't need distributed messaging

Installation

dotnet add package Flowly.InMemory

Usage

public class MyConfig : FlowlyDesignTimeFactory, IFlowlyConfiguration
{
    public void Configure(IFlowlyBuilder builder) =>
        builder
            .UseInMemory()
            .AddMessageHandler<MyMessage, MyHandler>()
            .AddMessageSubmitter<MyMessage>();
}

Register in Program.cs:

services.AddFlowly<MyConfig>(configuration);

Options

builder.UseInMemory(configure: opts =>
{
    opts.MaxMessageSizeBytes = 2 * 1024 * 1024; // 2 MB
    opts.ChannelCapacity = 500;                  // messages per queue before back-pressure
});
Option Default Description
MaxMessageSizeBytes 1 048 576 (1 MB) Maximum serialized message size. Larger messages throw MessageTooLargeException.
ChannelCapacity 1000 Bounded channel capacity per queue. Writers block when full (back-pressure).

Supported features

Feature Supported
Regular message handlers (MessageHandler<T>)
Batch message handlers (BatchMessageHandler<T>)
Job handlers (JobHandler<T>)
Recurring jobs (RecurringJobHandler)
Event handlers (EventHandlerBase<TEvent>)
Retry policy ([RetryPolicy])
Dead-letter tracking
Scheduled delivery (retry delay) ✓ (via InMemoryScheduler hosted service)
Topology creation No-op (channels are created lazily)
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 101 5/27/2026
1.1.1 102 5/22/2026
1.1.0 110 5/18/2026