masstransit / sample-booking Goto Github PK
View Code? Open in Web Editor NEWA booking sample showing end-to-end distributed transactions
A booking sample showing end-to-end distributed transactions
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/
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.
Hello again, I am trying to extend this sample ๐ฏ with booking an event/room (resource), where -
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,
thanks
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.