Пример #1
0
        void IMessageChannel.SendInMessage(Message message)
        {
            if (!_inputChannel.IsOpened)
            {
                _inputChannel.Open();
            }

            _inputChannel.SendInMessage(message);
        }
Пример #2
0
        private void AdapterOnNewOutMessage(Message message)
        {
            if (!_outputChannel.IsOpened)
            {
                _outputChannel.Open();
            }

            _outputChannel.SendInMessage(message);
        }