Пример #1
0
        public void all_endpoints()
        {
            var collection = new TransportCollection(new JasperOptions());

            collection.ListenAtPort(2222);
            collection.PublishAllMessages().ToPort(2223);

            // 2 default local queues + the 2 added here
            collection.AllEndpoints()
            .Length.ShouldBe(5);
        }