Rebus.Firebird 2.0.0-beta.1.1

This is a prerelease version of Rebus.Firebird.
dotnet add package Rebus.Firebird --version 2.0.0-beta.1.1
                    
NuGet\Install-Package Rebus.Firebird -Version 2.0.0-beta.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="Rebus.Firebird" Version="2.0.0-beta.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rebus.Firebird" Version="2.0.0-beta.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Rebus.Firebird" />
                    
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 Rebus.Firebird --version 2.0.0-beta.1.1
                    
#r "nuget: Rebus.Firebird, 2.0.0-beta.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 Rebus.Firebird@2.0.0-beta.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=Rebus.Firebird&version=2.0.0-beta.1.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Rebus.Firebird&version=2.0.0-beta.1.1&prerelease
                    
Install as a Cake Tool

Rebus.Firebird

alternate text is missing from this package README imagealternate text is missing from this package README image

install from nuget

Currently Provides only a FirebirdSQL-based outbox persistence for Rebus

Configuration

Configure.With(...)
	.Transport(...)
	...
	.Outbox(o => o.StoreInFirebird(ConnectionString, sender: "sender", tableName: "rebus_oubox"))

The sender parameter is used to identify the sender of the message in the outbox. This is useful when multiple senders are using the same outbox table. The Firebird outbox storage will create an Index on the sender column to speed up the lookup of messages in the outbox. The Index will be named IX_{tableName}_sender where {tableName} is the name of the outbox table. So be sure to:

  • use a unique sender name for each sender
  • follow the Firebird naming rules for identifiers (before v4.0: 31 characters, since v4.0: 63 characters)

Usage

Outside of a Rebus handler: start a database transaction and use the RebusTransactionScope with UseOutbox to use the outbox. Example:

await using FbConnection connection = new(ConnectionString);
await connection.OpenAsync();
await using FbTransaction transaction = await connection.BeginTransactionAsync();

// this is how we would use the outbox for outgoing messages
using RebusTransactionScope scope = new();
scope.UseOutbox(connection, transaction);

await bus.Send(new SomeMessage());

await scope.CompleteAsync();
await transaction.CommitAsync();

Inside a Rebus handler: nothing special to do, the outbox will be used automatically

Reporting

You can pass an Implementation of IReportOutboxOperations to the Outbox configuration to get reports about the outbox operations. The Interface IReportOutboxOperations has 6 methods:

  • void ReportChecking(); // called when the outbox is checked for pending messages
  • void ReportNoPendingMessages(); // called when no pending messages are found in the outbox
  • void ReportSending(int count); // called when messages are sent from the outbox
  • void ReportRetrying(int attempt); // called when a sending a message is retried
  • void ReportSendingFailed(int count); // called when sending messages from the outbox failed
  • void ReportSent(int count); // called when messages are successfully sent from the outbox

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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.  net10.0 was computed.  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
2.0.0-beta.1.1 209 2/20/2025
1.0.0-beta.0.21 346 3/2/2024
1.0.0-beta.0.20 93 3/2/2024
1.0.0-beta.0.19 92 3/1/2024
1.0.0-beta.0.15 81 2/29/2024
1.0.0-beta.0.14 84 2/29/2024
1.0.0-beta.0.8 86 2/28/2024
1.0.0-beta.0.3 79 2/27/2024
1.0.0-beta.0.2 90 2/27/2024