Exemplo n.º 1
0
 public static void Register(this IBusRegistry registry, params IWorker[] workers)
 {
     foreach (var worker in workers)
     {
         registry.Register(worker);
     }
 }
Exemplo n.º 2
0
 protected override void RegisterHandlersInBus(IBusRegistry bus)
 {
     bus.Register <EventPublisherStarted>(this);
     bus.Register <EventHandlerStarted>(this);
     bus.Register <EventPollerStarted>(this);
     bus.Register <EventPollerStopped>(this);
     bus.Register <EventProcessorStopped>(this);
     bus.Register <EventPublisherStopped>(this);
 }
Exemplo n.º 3
0
 protected override void RegisterHandlersInBus(IBusRegistry bus)
 {
     bus.Register<StartEventPoller>(this);
     bus.Register<StopEventPoller>(this);
     bus.Register<PollResponseWasReceived>(this);
     bus.Register<IncomingEventHasBeenProcessed>(this);
     bus.Register<IncomingEventIsPoisoned>(this);
     bus.Register<AddNewSubscriptionOnTheFly>(this);
 }
Exemplo n.º 4
0
 protected override void RegisterHandlersInBus(IBusRegistry bus)
 {
     bus.Register <NewIncomingEvents>(this);
     bus.Register <PollResponseWasReceived>(this);
     bus.Register <IncomingEventHasBeenProcessed>(this);
 }
Exemplo n.º 5
0
 protected override void RegisterHandlersInBus(IBusRegistry bus)
 {
     bus.Register <StartEventPublisher>(this);
     bus.Register <StopEventPublisher>(this);
 }
Exemplo n.º 6
0
 protected override void RegisterHandlersInBus(IBusRegistry bus)
 {
     bus.Register <StartEventHandler>(this);
     bus.Register <StopEventHandler>(this);
     bus.Register <NewIncomingEvents>(this);
 }