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

Service Bus Queue characteristics


Service Bus Queues provide a one-way message exchange pattern for passing messages between distributed and loosely coupled applications using the Azure SDK, WCF, AMQP, or RESTful endpoints. These queues provide load leveling, by default, where the receiver processes messages off the queue at its own pace.

Load balancing can also be easily implemented by reading the queue length property and spinning up more processes to read the queue concurrently. As the queue length diminishes, the extra processors can be taken offline. When using multiple processors to read messages from the same queue concurrently, careful consideration must be given to the type of read lock you wish to perform. More about this is explained in the section Retrieving messages off a Queue.

There are many uses for this type of coupling pattern:

  • Hybrid applications, which allow you to connect an on-premises application to a cloud hosted service or application

  • Loosely coupled applications, where...