Exemple #1
0
        public void Setup()
        {
            var random = new Random();
            var name   = string.Format("a{0}b", random.Next());

            queue = new BusQueue(name, connection);
            queue.CreateIfNotExists().Wait();
        }
Exemple #2
0
        public void Setup()
        {
            var random = new Random();

            name = string.Format("a{0}b", random.Next());

            topic = new BusTopic(name, connection);
            topic.CreateIfNotExists().Wait();

            var s = new BusTopicSubscription(topic.Name, connection, "testing");

            s.CreateIfNotExists().Wait();
        }
Exemple #3
0
        public async Task Create()
        {
            var e = await queue.CreateIfNotExists();

            Assert.IsTrue(e);
        }