Newer
Older
AsyncRequestReply / src / Billing / Endpoints.cs
@Derek Comartin Derek Comartin on 1 Mar 2022 368 bytes Init
using Billing.Contracts;
using NServiceBus;

namespace Billing
{
    public static class Endpoints
    {
        public static void MapBilling(this RoutingSettings<LearningTransport> routing)
        {
            routing.RouteToEndpoint(
                assembly: typeof(OrderBilled).Assembly,
                destination: "LooselyCoupledMonolith");
        }
    }
}