Network transients
All Azure Service Bus networking connectivity is subject to network-related transients. These are microtransients commonly present on most networking infrastructures. If developing applications that use these services, it is advisable to take into consideration these micro outages.
The Client APIs that are included with Azure SDK 2.1 have built-in support for custom retry policies.
MessagingFactory factory = MessagingFactory.Create(); factory.RetryPolicy = RetryExponential.Default; // retry on transient errors until the OperationTimeout is reached factory.RetryPolicy = RetryPolicy.NoRetry; // disables retry for transient errors
Also the Microsoft patterns and practices team has developed an application block that allows for a configurable retry mechanism. The application block may be downloaded from here: http://msdn.microsoft.com/en-us/library/hh680934(PandP.50).aspx.