/// <summary>
 /// Formats the dead letter path for either a queue, or a subscription.
 /// </summary>
 /// <param name="entityPath">The name of the queue, or path of the subscription.</param>
 /// <returns>The path as a string of the dead letter entity.</returns>
 public static string FormatDeadLetterPath(string entityPath)
 {
     return(EntityNameHelper.FormatSubQueuePath(entityPath, EntityNameHelper.DeadLetterQueueName));
 }
Esempio n. 2
0
        public void FormatSubQueuePath_is_formatted_correctly()
        {
            var result = EntityNameHelper.FormatSubQueuePath("entityPath", "subQueue");

            Assert.Equal("entityPath/subQueue", result);
        }