Shuttle.Esb.MessageForwarding 20.0.0

Prefix Reserved
dotnet add package Shuttle.Esb.MessageForwarding --version 20.0.0                
NuGet\Install-Package Shuttle.Esb.MessageForwarding -Version 20.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="Shuttle.Esb.MessageForwarding" Version="20.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shuttle.Esb.MessageForwarding --version 20.0.0                
#r "nuget: Shuttle.Esb.MessageForwarding, 20.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.
// Install Shuttle.Esb.MessageForwarding as a Cake Addin
#addin nuget:?package=Shuttle.Esb.MessageForwarding&version=20.0.0

// Install Shuttle.Esb.MessageForwarding as a Cake Tool
#tool nuget:?package=Shuttle.Esb.MessageForwarding&version=20.0.0                

Message Forwarding

PM> Install-Package Shuttle.Esb.MessageForwarding

The MessageForwarding module for Shuttle.Esb will forward any handled messages onto the specified queue(s).

Configuration

services.AddMessageForwarding(builder => 
{
	builder.Options.ForwardingRoutes.Add(new MessageRouteOptions
	{
		Uri = "queue://configuration/inbox-work-a",
        Specifications = new List<MessageRouteOptions.SpecificationOptions>
        {
            new()
            {
                Name = "StartsWith",
                Value = "Shuttle.Messages.v1"
            },
            new()
            {
                Name = "StartsWith",
                Value = "Shuttle.Messages.v2"
            }
        }
	})
});

The default JSON settings structure is as follows:

{
  "Shuttle": {
    "Modules": {
      "MessageForwarding": {
        "ForwardingRoutes": [
          {
            "Uri": "queue://./inbox-work-a",
            "Specifications": [
              {
                "Name": "StartsWith",
                "Value": "Shuttle.Messages.v1"
              },
              {
                "Name": "StartsWith",
                "Value": "Shuttle.Messages.v2"
              }
            ]
          },
          {
            "Uri": "queue://./inbox-work-b",
            "Specifications": [
              {
                "Name": "TypeList",
                "Value": "DoSomethingCommand"
              }
            ]
          }
        ]
      }
    }
  }
}

The ForwardingRoutes makes use of the MessageRouteOptions as defined in the Shuttle.Esb package and the documentation for the MessageRouteOptions is applicable to the ForwardingRoutes as well.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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
20.0.0 80 2/2/2025
15.0.0 104 8/5/2024
14.0.1 97 5/3/2024
14.0.0 130 4/30/2024