Sqlite Outbox
NuGet Packages
Install-Package Paramore.Brighter.Sqlite
Install-Package Paramore.Brighter.Outbox.SqliteInstall-Package Paramore.Brighter.Sqlite.EntityFrameworkCoreDatabase Table Schema
Generating the DDL
// The table name can be whatever you choose.
string tableName = "Outbox";
// The DDL for a table that stores the message body as TEXT
string ddl = SqliteOutboxBuilder.GetDDL(tableName);
// The DDL for a table that stores the message body as BLOB
// Useful if your message body is binary
string binaryDdl = SqliteOutboxBuilder.GetDDL(tableName, hasBinaryMessagePayload: true);Example SQL Script
Configuration
1. Provide Database Configuration
2. Register the Outbox
Example with Entity Framework Core
Last updated
Was this helpful?
