public void fall_back_to_the_default_queue_if_no_segments() { LocalTransport.QueueName("tcp://localhost:2222".ToUri()).ShouldBe(TransportConstants.Default); }
public void queue_at_other_queue() { var uri = LocalTransport.AtQueue("tcp://localhost:2222".ToUri(), (string)"one"); LocalTransport.QueueName(uri).ShouldBe("one"); }
public void use_the_last_segment_if_it_exists() { LocalTransport.QueueName("tcp://localhost:2222/incoming".ToUri()).ShouldBe("incoming"); }
public void queue_at_extension_durable() { var uri = LocalTransport.AtQueue(TransportConstants.DurableLocalUri, (string)"one"); LocalTransport.QueueName(uri).ShouldBe("one"); }
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"); }