Created
February 7, 2021 10:37
-
-
Save AbubakarSiddiq/694a6f6f26d50b6438b9d5f806909a09 to your computer and use it in GitHub Desktop.
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
using MassTransit; | |
using Shared.Models.Models; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace Order.Microservice.Consumers | |
{ | |
public class OrderConsumer : IConsumer<CustomerOrder> | |
{ | |
public async Task Consume(ConsumeContext<CustomerOrder> context) | |
{ | |
var obj = context.Message; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment