public void Stop() { validateCodelineRequestQueue.Dispose(); correctCodelineRequestQueue.Dispose(); validateTransactionRequestQueue.Dispose(); correctTransactionRequestQueue.Dispose(); checkThirdPartyRequestQueue.Dispose(); getVoucherInformationResponseQueue.Dispose(); generateBulkCreditRequestQueue.Dispose(); scheduler.Shutdown(); Log.Information("Dips Adapter Service Stopped"); }
public void Stop() { consumer.Dispose(); Log.Information("Adjustment Letters Service Stopped"); }
public Task StopAsync(CancellationToken cancel) { _consumer.Dispose(); return(Task.CompletedTask); }