public Task StartAsync(CancellationToken cancellationToken)
 {
     //Realizar bind do consummo da fila
     _subscriber.StartConsume <TesteMessage>(ConsumeTesteMessage);
     return(Task.CompletedTask);
 }
Esempio n. 2
0
 protected override Task ExecuteAsync(CancellationToken stoppingToken)
 {
     _subscriber.StartConsume <TesteMessage>(ConsumeTesteMessage);
     return(Task.CompletedTask);
 }
Esempio n. 3
0
 protected override Task ExecuteAsync(CancellationToken stoppingToken)
 {
     //Realizar bind do consummo da fila
     _subscriber.StartConsume <TransactionEvent>(ConsumeEvent);
     return(Task.CompletedTask);
 }