Giter Site home page Giter Site logo

sample-booking's Introduction

MassTransit

MassTransit is a free, open-source distributed application framework for .NET. MassTransit makes it easy to create applications and services that leverage message-based, loosely-coupled asynchronous communication for higher availability, reliability, and scalability.

Mass Transit

MassTransit is Apache 2.0 licensed.

Documentation

Get started by reading through the documentation.

Build Status

Branch Status
master master
develop develop

MassTransit NuGet Packages

Package Name .NET .NET Standard .NET Framework
Main
MassTransit 6.0, 8.0 2.0 4.7.2
MassTransit.Abstractions 6.0, 8.0 2.0 4.7.2
MassTransit.Newtonsoft 6.0, 8.0 2.0 4.7.2
Other
MassTransit.Analyzers 2.0
MassTransit.Templates 6.0
MassTransit.SignalR 6.0, 8.0 4.7.2
MassTransit.Interop.NServiceBus 6.0, 8.0 2.0 4.7.2
MassTransit.TestFramework 6.0, 8.0 2.0 4.7.2
Monitoring
MassTransit.Prometheus 6.0, 8.0 2.0 4.7.2
Persistence
MassTransit.AmazonS3 6.0, 8.0 2.0 4.7.2
MassTransit.Azure.Cosmos 6.0, 8.0 2.0 4.7.2
MassTransit.Azure.Storage 6.0, 8.0 2.0 4.7.2
MassTransit.Azure.Table 6.0, 8.0 2.0 4.7.2
MassTransit.Dapper 6.0, 8.0 2.0 4.7.2
MassTransit.DynamoDb 6.0, 8.0 2.0 4.7.2
MassTransit.EntityFrameworkCore 6.0, 8.0 2.0
MassTransit.EntityFramework 2.1 4.7.2
MassTransit.Marten 6.0, 8.0 2.0 4.7.2
MassTransit.MongoDb 6.0, 8.0 2.0 4.7.2
MassTransit.NHibernate 6.0, 8.0 2.0 4.7.2
MassTransit.Redis 6.0, 8.0 2.0 4.7.2
Scheduling
MassTransit.Hangfire 6.0, 8.0 2.0 4.7.2
MassTransit.Quartz 6.0, 8.0 2.0 4.7.2
Transports
MassTransit.ActiveMQ 6.0, 8.0 2.0 4.7.2
MassTransit.AmazonSQS 6.0, 8.0 2.0 4.7.2
MassTransit.Azure.ServiceBus.Core 6.0, 8.0 2.0 4.7.2
MassTransit.RabbitMQ 6.0, 8.0 2.0 4.7.2
MassTransit.SqlTransport.PostgreSQL 6.0, 8.0 2.0 4.7.2
MassTransit.SqlTransport.SqlServer 6.0, 8.0 2.0 4.7.2
MassTransit.WebJobs.EventHubs 6.0, 8.0 2.0 4.7.2
MassTransit.WebJobs.ServiceBus 6.0, 8.0 2.0 4.7.2
Riders
MassTransit.Kafka 6.0, 8.0 2.0 4.7.2
MassTransit.EventHub 6.0, 8.0 2.0 4.7.2

Discord

Get help live at the MassTransit Discord server.

alt Join the conversation

GitHub Issues

Pay attention

Please do not open an issue on GitHub, unless you have spotted an actual bug in MassTransit.

Use GitHub Discussions to ask questions, bring up ideas, or other general items. Issues are not the place for questions, and will either be converted to a discussion or closed.

This policy is in place to avoid bugs being drowned out in a pile of sensible suggestions for future enhancements and calls for help from people who forget to check back if they get it and so on.

Building from Source

  1. Install the latest .NET 8 SDK
  2. Clone the source down to your machine
    git clone https://github.com/MassTransit/MassTransit.git
  3. Run dotnet build

Contributing

  1. Turn off autocrlf
    git config core.autocrlf false
  2. Hack!
  3. Make a pull request

REQUIREMENTS

  • .NET 8 SDK

CREDITS

Logo Design by The Agile Badger

sample-booking's People

Contributors

phatboyg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sample-booking's Issues

Publish a message in saga flow

In the starbucks sample, I saw a message is published when payment is completed.
The code is like
When(PaymentComplete)
.Then((saga, message) =>
{
Console.WriteLine("Payment Complete for '{0}' got it!", saga.Name);
saga.ServeDrink();
})
.Complete()

private void ServeDrink()
{
Console.WriteLine(string.Format("I've got a {0} ready for {1}!", Drink, Name));

        var message = new DrinkReadyMessage
        {
            CorrelationId = CorrelationId,
            Drink = Drink,
            Name = Name,
        };

        Bus.Publish(message);
    }

The starbucks sample uses Masstransit 2.9, how can this be realized with MassTransit 3.5?

Design question mailbox

Hello again, I am trying to extend this sample ๐Ÿ’ฏ with booking an event/room (resource), where -

  1. A customer/user creates a purchase/rent request
  2. A manager gets a notification in his inbox to approve
  3. Its then routed (after approval) to two places, a) specific person, and a b) a rolegroup

I've been reading, but I don't know these terms from your website, I see courier and slip,
my question, can you please guide me,

  1. what design/or which queue/transit design matches this inbox need well?
  2. how can messages be sent to a role?
  3. Is there a GUI that provides the admins a saga/queue management interface?

thanks

Views are empty

Hi is the application supposed to be blank, also the build throws exceptions.

Exception thrown: 'System.Net.Sockets.SocketException' in System.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.dll Exception thrown: 'RabbitMQ.Client.Exceptions.ConnectFailureException' in RabbitMQ.Client.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.dll Exception thrown: 'RabbitMQ.Client.Exceptions.ConnectFailureException' in RabbitMQ.Client.dll Exception thrown: 'RabbitMQ.Client.Exceptions.BrokerUnreachableException' in RabbitMQ.Client.dll Exception thrown: 'MassTransit.RabbitMqTransport.RabbitMqConnectionException' in MassTransit.RabbitMqTransport.dll Exception thrown: 'MassTransit.RabbitMqTransport.RabbitMqConnectionException' in mscorlib.dll MassTransit.RabbitMqTransport.RabbitMqReceiveTransport Error: 0 : RabbitMQ connection failed: Connect failed: guest@localhost:5672/

Needs some setup instructions

I'm following along in your class in SF and all NuGet packages restored and build works great. However, I get an error about connecting to RabbitMQ. Do I need to set that up separately? Would be good to have a quick readme on the setup.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.