Beispiel #1
0
    public async Task Start()
    {
        leftStartable = await RawEndpoint.Create(leftConfig).ConfigureAwait(false);

        rightStartable = await RawEndpoint.Create(rightConfig).ConfigureAwait(false);

        leftSubscribeRouter  = CreateSubscribeRouter(leftStartable.Settings.Get <TransportInfrastructure>());
        rightSubscribeRouter = CreateSubscribeRouter(rightStartable.Settings.Get <TransportInfrastructure>());

        leftEndpoint = await leftStartable.Start().ConfigureAwait(false);

        rightEndpoint = await rightStartable.Start().ConfigureAwait(false);
    }
Beispiel #2
0
 /// <summary>
 /// Starts replaying of subscription messages.
 /// </summary>
 public async Task Start()
 {
     stoppable = await endpoint.Start().ConfigureAwait(false);
 }