GithubHelp home page GithubHelp logo

masstransit / sample-booking Goto Github PK

View Code? Open in Web Editor NEW
17.0 6.0 15.0 449 KB

A booking sample showing end-to-end distributed transactions

C# 91.59% CSS 1.23% ASP 0.05% HTML 2.31% JavaScript 4.83%

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

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.

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

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?

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.