예제 #1
0
        public async Task SendAsync(Message message)
        {
            var topic = message.Header.Topic;

            Logger.Value.Debug(
                $"MsSqlMessageProducer: send async message with topic {topic} and id {message.Id.ToString()}");

            await _sqlQ.SendAsync(message, topic);
        }
예제 #2
0
        public async Task SendAsync(Message message)
        {
            var topic = message.Header.Topic;

            s_logger.LogDebug(
                "MsSqlMessageProducer: send async message with topic {Topic} and id {Id}", topic,
                message.Id.ToString());

            await _sqlQ.SendAsync(message, topic);
        }