Database Reference
In-Depth Information
This is so that you can review the code before copying it into the message handler that
you will be publishing from:
public partial class SubmitPaymentHandler
{
partial void HandleImplementation(SubmitPayment
message)
{
// TODO: SubmitPaymentHandler: Add code to
handle the SubmitPayment message.
Console.WriteLine("Payments received " +
message.GetType().Name);
Console.WriteLine("Data " + message.data);
var paymentAccepted = new
PaymentEngine.Contracts.Payments.PaymentAccepted();
Bus.Publish(paymentAccepted);
}
}
To add a subscriber to the publisher, simply use the Add Subscriber... command.
Search WWH ::




Custom Search