public string GetRoute(Message message) { return(ToAddressUtilities.GetApplicationName(message.To)); }
public void ShouldGetCurrentApplicationName() { Assert.AreEqual(".", ToAddressUtilities.GetApplicationName("Processor")); }
public void ShouldGetProcessorNameWithoutApplication() { Assert.AreEqual("Processor", ToAddressUtilities.GetProcessorName("Processor")); }
public string GetRoute(Message message) { return(ToAddressUtilities.GetProcessorName(message.To)); }