Book Image

SOA Patterns with BizTalk Server 2013 and Microsoft Azure

By : Richard Seroter, Mark T Brimble, Coen J Dijkgraaf, Mahindra Morar, Mark Brimble, Colin Dijkgraaf, Johann Cooper
Book Image

SOA Patterns with BizTalk Server 2013 and Microsoft Azure

By: Richard Seroter, Mark T Brimble, Coen J Dijkgraaf, Mahindra Morar, Mark Brimble, Colin Dijkgraaf, Johann Cooper

Overview of this book

Table of Contents (21 chapters)
SOA Patterns with BizTalk Server 2013 and Microsoft Azure Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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.