Example #1
0
        public void Publish(string message, Dictionary <string, string> attributes = null)
        {
            message.ThrowExceptionIfNullOrEmpty("message");

            ValidateProjectIdIsSet();
            ValidateTopicIdIsSet();

            _publishService.PublishMessage(_projectId, _topicId, message, attributes);
        }