1
0
mirror of synced 2024-11-24 01:33:50 +00:00
Go to file
2020-07-02 11:43:24 +02:00
06-StatelessRequestResponse Implemented stateless request-response support 2020-02-12 11:34:51 +01:00
build Changed version number strategy to include CommitsSinceVersionSource 2019-10-01 10:27:48 +02:00
docs New features for Tapeti.Cmd 2020-03-29 11:32:51 +02:00
Examples Added support for the Obsolete attribute to remove bindings and queues with backwards compatibility 2019-08-20 11:47:53 +02:00
resources Added Tapeti.Flow.SQL to AppVeyor build 2018-12-19 21:58:50 +01:00
Tapeti Fixed controller middleware interfaces not inheriting from base 2020-07-02 11:43:24 +02:00
Tapeti.Annotations Implemented stateless request-response support 2020-02-12 11:34:51 +01:00
Tapeti.Autofac Added back version information 2019-10-01 10:18:12 +02:00
Tapeti.CastleWindsor Added back version information 2019-10-01 10:18:12 +02:00
Tapeti.Cmd New features for Tapeti.Cmd 2020-03-29 11:32:51 +02:00
Tapeti.DataAnnotations Added back version information 2019-10-01 10:18:12 +02:00
Tapeti.DataAnnotations.Extensions Added back version information 2019-10-01 10:18:12 +02:00
Tapeti.Flow Possible fix for #21 - Same request/response twice in flow does not continue? 2020-06-11 16:36:55 +02:00
Tapeti.Flow.SQL Added Flow table SQL script as embedded resource 2020-01-24 14:53:11 +01:00
Tapeti.Ninject Added back version information 2019-10-01 10:18:12 +02:00
Tapeti.Serilog New features for Tapeti.Cmd 2020-03-29 11:32:51 +02:00
Tapeti.SimpleInjector Added back version information 2019-10-01 10:18:12 +02:00
Tapeti.Tests [ci skip] Fixed the last of the ReSharper code issues 2019-08-15 16:00:04 +02:00
Tapeti.Transient Added back version information 2019-10-01 10:18:12 +02:00
Tapeti.UnityContainer Added back version information 2019-10-01 10:18:12 +02:00
.gitignore Implemented EasyNetQ Hosepipe compatibility for Tapeti.cmd [ci skip] 2019-10-17 11:34:08 +02:00
appveyor.yml Refreshed NuGet API key [ci skip] 2019-10-10 16:09:57 +02:00
GitVersion.yml Preparations for NuGet push 2017-02-08 22:09:06 +01:00
README.md Readme updated for 2.0 merge 2019-10-21 14:03:48 +02:00
Tapeti.png [ci skip] Major refactoring for 2.0 2019-08-13 20:30:04 +02:00
Tapeti.sln Implemented stateless request-response support 2020-02-12 11:34:51 +01:00
Tapeti.sln.DotSettings Start of Tapeti.Cmd [ci skip] 2019-10-16 13:54:43 +02: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

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