Esempio n. 1
0
        internal void ClearMessagesInProgress()
        {
            Executor?.ClearMessagesInProgress();

            if (Transacted)
            {
                TransactionContext.ResetTransactionInProgress();
            }

            foreach (var consumer in _consumers)
            {
                consumer.Value.InProgressClearRequired();
                ThreadPool.QueueUserWorkItem(ClearMessages, consumer);
            }
        }