Skip to content

Instantly share code, notes, and snippets.

@GeradeDev
Created July 17, 2020 11:45
Show Gist options
  • Save GeradeDev/a5307c2ec9ade5f33b60dc63f260124f to your computer and use it in GitHub Desktop.
Save GeradeDev/a5307c2ec9ade5f33b60dc63f260124f to your computer and use it in GitHub Desktop.
public static class OrderPlaceInvoiceGenerator
{
[FunctionName("OrderPlaceInvoiceGenerator")]
public static void Run([RabbitMQTrigger("medpark.orderservice/basket-service.basket_checked_out_invoice_gen", ConnectionStringSetting = "connectionStringSetting")] BasicDeliverEventArgs args,
ILogger log)
{
log.LogInformation($"Message received from RabbitMQ trigger: {message}");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment