Exemplo n.º 1
0
 protected override IMessagePublisher CreateSystemUnderTest()
 {
     Publisher = JustSaying.CreateMeABus.InRegion("eu-west-1")
                 .WithSnsMessagePublisher <OrderPlaced>();
     Publisher.StartListening();
     return(Publisher);
 }
Exemplo n.º 2
0
 protected override IMessagePublisher CreateSystemUnderTest()
 {
     Publisher = CreateMeABus.WithLogging(new LoggerFactory())
                 .InRegion("eu-west-1")
                 .WithSnsMessagePublisher <OrderPlaced>();
     Publisher.StartListening();
     return(Publisher);
 }