Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AbubakarSiddiq/694a6f6f26d50b6438b9d5f806909a09 to your computer and use it in GitHub Desktop.
Save AbubakarSiddiq/694a6f6f26d50b6438b9d5f806909a09 to your computer and use it in GitHub Desktop.
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