Example #1
0
        public async Task StopConsuming()
        {
            logger.Info("StopConsuming");
            if (consumerInterface != null)
            {
                await consumer.UnsubscribeAsync(consumerInterface);

                //consumerInterface.Dispose();
                consumerInterface = null;
            }
        }