Пример #1
0
        private MqClient Close()
        {
            if (_producer != null)
            {
                _producer.close();
            }

            if (_session != null)
            {
                _session.close();
            }

            if (_connection != null)
            {
                _connection.close();
            }

            return(this);
        }