Last active
December 2, 2021 08:04
-
-
Save irfan-yusanif/56089119986676f62eea769ae6d00671 to your computer and use it in GitHub Desktop.
Receive message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PlaceOrderHandler : | |
IHandleMessages<PlaceOrder> | |
{ | |
static readonly ILog log = LogManager.GetLogger<PlaceOrderHandler>(); | |
static readonly Random random = new Random(); | |
public Task Handle(PlaceOrder message, IMessageHandlerContext context) | |
{ | |
log.Info($"Received PlaceOrder, OrderId = {message.OrderId}"); | |
return Task.CompletedTask; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment