public Task Handle(ProvisionDownloadRequest message, IMessageHandlerContext context) { var products = string.Join(", ", message.ProductIds); log.Info($"Provision the products and make the Urls available to the Content management for download ...[{products}] product(s) to provision"); var response = new ProvisionDownloadResponse { OrderNumber = message.OrderNumber, ProductIds = message.ProductIds, ClientId = message.ClientId }; return(context.Reply(response)); }
public void Handle(ProvisionDownloadRequest message) { if (DebugFlagMutator.Debug) { Debugger.Break(); } var products = string.Join(", ", message.ProductIds); log.Info($"Provision the products and make the Urls available to the Content management for download ...[{products}] product(s) to provision"); var response = new ProvisionDownloadResponse { OrderNumber = message.OrderNumber, ProductIds = message.ProductIds, ClientId = message.ClientId }; bus.Reply(response); }
public Task Handle(ProvisionDownloadRequest message, IMessageHandlerContext context) { if (DebugFlagMutator.Debug) { Debugger.Break(); } var products = string.Join(", ", message.ProductIds); var logger = context.GetOrderWorkflowLogger(message); logger.Information("Provision the products and make the Urls available to the Content management for download ...{products} product(s) to provision", message.ProductIds); var response = new ProvisionDownloadResponse { OrderNumber = message.OrderNumber, ProductIds = message.ProductIds, ClientId = message.ClientId }; return(context.Reply(response)); }