コード例 #1
0
        private async Task seedData(ConsulUsingApp registry)
        {
            var gateway = new ConsulGateway(new ConsulSettings());
            await gateway.SetProperty("one", "tcp://localhost:2345/queue1");

            await gateway.SetProperty("two", "tcp://localhost:2345/queue2");
        }
コード例 #2
0
        public using_consul_based_lookup()
        {
            var registry = new ConsulUsingApp();



            seedData(registry).Wait();

            theRuntime = JasperRuntime.For(registry);
        }