예제 #1
0
 public void fall_back_to_the_default_queue_if_no_segments()
 {
     LocalTransport.QueueName("tcp://localhost:2222".ToUri()).ShouldBe(TransportConstants.Default);
 }
예제 #2
0
        public void queue_at_other_queue()
        {
            var uri = LocalTransport.AtQueue("tcp://localhost:2222".ToUri(), (string)"one");

            LocalTransport.QueueName(uri).ShouldBe("one");
        }
예제 #3
0
 public void use_the_last_segment_if_it_exists()
 {
     LocalTransport.QueueName("tcp://localhost:2222/incoming".ToUri()).ShouldBe("incoming");
 }
예제 #4
0
        public void queue_at_extension_durable()
        {
            var uri = LocalTransport.AtQueue(TransportConstants.DurableLocalUri, (string)"one");

            LocalTransport.QueueName(uri).ShouldBe("one");
        }
예제 #5
0
 public void still_get_queue_name_with_durable()
 {
     LocalTransport.QueueName("tcp://localhost:2222/durable".ToUri()).ShouldBe(TransportConstants.Default);
     LocalTransport.QueueName("tcp://localhost:2222/durable/incoming".ToUri()).ShouldBe("incoming");
 }