예제 #1
0
 public string GetRoute(Message message)
 {
     return(ToAddressUtilities.GetApplicationName(message.To));
 }
예제 #2
0
 public void ShouldGetCurrentApplicationName()
 {
     Assert.AreEqual(".", ToAddressUtilities.GetApplicationName("Processor"));
 }
예제 #3
0
 public void ShouldGetProcessorNameWithoutApplication()
 {
     Assert.AreEqual("Processor", ToAddressUtilities.GetProcessorName("Processor"));
 }
 public string GetRoute(Message message)
 {
     return(ToAddressUtilities.GetProcessorName(message.To));
 }