You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
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));
The starbucks sample uses Masstransit 2.9, how can this be realized with MassTransit 3.5?
The text was updated successfully, but these errors were encountered: