Beispiel #1
0
        public void PublishMessageTest()
        {
            //Arrange
            var rabbitMQClient = new RabbitMQMessaging();

            //Act
            rabbitMQClient.PublishMessage(@"C:\temp\file1.avi", "UploaderQueue");
        }
Beispiel #2
0
        public void PublishConsumeMessageTest()
        {
            //Arrange
            var rabbitMQClient = new RabbitMQMessaging();

            //Act
            string path  = "@C:\temp\file1.avi";
            string queue = "UploaderQueue";

            rabbitMQClient.PublishMessage(path, queue);
            rabbitMQClient.ConsumeMessage(queue);
        }