1
0
mirror of synced 2024-12-22 09:13:07 +01:00
Go to file
Mark van Renswoude c361af3b3c Added Unsubscribe method
Clarified contribution license requirements in readme
2024-12-20 11:31:17 +01:00
build Changed version number strategy to include CommitsSinceVersionSource 2019-10-01 10:27:48 +02:00
docs Added documentation for IFlowParallelRequest 2021-12-10 12:53:18 +01:00
Examples #43 Move binding related attributes to Tapeti Core 2023-04-14 15:47:50 +02:00
resources Split parts into separate repositories 2021-10-07 15:38:43 +02:00
Tapeti Added Unsubscribe method 2024-12-20 11:31:17 +01:00
Tapeti.Autofac #43 Move binding related attributes to Tapeti Core 2023-04-14 15:47:50 +02:00
Tapeti.Benchmarks Implemented unit tests for QueueArguments attribute 2022-11-21 16:59:09 +01:00
Tapeti.CastleWindsor #43 Move binding related attributes to Tapeti Core 2023-04-14 15:47:50 +02:00
Tapeti.DataAnnotations #43 Move binding related attributes to Tapeti Core 2023-04-14 15:47:50 +02:00
Tapeti.Flow Added ConfigureAwait to (hopefully) all awaits 2024-04-08 14:20:15 +02:00
Tapeti.Flow.SQL Added ConfigureAwait to (hopefully) all awaits 2024-04-08 14:20:15 +02:00
Tapeti.Ninject #43 Move binding related attributes to Tapeti Core 2023-04-14 15:47:50 +02:00
Tapeti.Serilog Added ConfigureAwait to (hopefully) all awaits 2024-04-08 14:20:15 +02:00
Tapeti.SimpleInjector #43 Move binding related attributes to Tapeti Core 2023-04-14 15:47:50 +02:00
Tapeti.Tests #43 Move binding related attributes to Tapeti Core 2023-04-14 15:47:50 +02:00
Tapeti.Transient Added ConfigureAwait to (hopefully) all awaits 2024-04-08 14:20:15 +02:00
.gitignore Implemented EasyNetQ Hosepipe compatibility for Tapeti.cmd [ci skip] 2019-10-17 11:34:08 +02:00
.readthedocs.yaml Added support for delaying feature initialisation 2024-12-02 09:31:55 +01:00
appveyor.yml Updated NuGet API key 2024-11-04 10:42:43 +01:00
GitVersion.yml Preparations for NuGet push 2017-02-08 22:09:06 +01:00
README.md Added Unsubscribe method 2024-12-20 11:31:17 +01:00
Tapeti.png [ci skip] Major refactoring for 2.0 2019-08-13 20:30:04 +02:00
Tapeti.sln Fixed queue arguments error due to wrong value types 2022-11-22 13:20:47 +01:00
Tapeti.sln.DotSettings Fixed queue arguments error due to wrong value types 2022-11-22 13:20:47 +01:00
UNLICENSE Preparations for NuGet push 2017-02-08 22:09:06 +01:00

Introduction

Tapeti is a wrapper for the RabbitMQ .NET Client designed for long-running microservices. Its main goal is to minimize the amount of messaging code required, and instead focus on the higher-level flow.

Key features

  • Consumers are declared using MVC-style controllers and are registered automatically based on annotations
  • Publishing requires only the message class, no transport details such as exchange and routing key
  • Flow extension (stateful request - response handling with support for parallel requests)
  • No inheritance required
  • Graceful recovery in case of connection issues, and in contrast to most libraries not designed for services, during startup as well
  • Extensible using middleware

Show me the code!

Below is a bare minimum message controller from the first example project to get a feel for how messages are handled using Tapeti.

/// <summary>
/// Example of a simple broadcast message used in the standard publish - subscribe pattern
/// </summary>
public class PublishSubscribeMessage
{
    [Required(ErrorMessage = "Don't be impolite, supply a {0}")]
    public string Greeting { get; set; }
}


[MessageController]
[DynamicQueue("tapeti.example.01")]
public class ExampleMessageController
{
    public ExampleMessageController() { }

    public void HandlePublishSubscribeMessage(PublishSubscribeMessage message)
    {
        Console.WriteLine("Received message: " + message.Greeting);
    }
}

More details and examples can be found in the documentation as well as the example projects included with the source.

Documentation

The documentation for Tapeti is available on Read the Docs:

Master branch (stable release)
Documentation Status

Develop branch
Documentation Status

Parts of Tapeti have been split into their own repository. This allows them to have their own version numbers which increases compatibility between shared message packages when services use different Tapeti versions.

Builds

Builds are automatically run using AppVeyor, with the resulting packages being pushed to NuGet.

Master build (stable release) Build status

Latest build Build status

Contributing

By contributing to Tapeti's main repository (https://github.com/MvRens/Tapeti) you agree to dedicate your code-base contributions to the public domain under the Unlicense license.