Ejemplo n.º 1
0
        private IAsyncCollector <MqttMessage> BuildCollectorFromAttribute(MqttAttribute attribute)
        {
            var topicName = attribute.TopicName;

            var client = _messagingProvider.GetMessageClient(topicName);

            return(new MqttMessageAsyncCollector(client));
        }