The Basics of Service Broker

A default instance of Service Broker exists for every database you create. To find it by using the SQL Server Management Studio Object Browser, you look under the Service Broker node directly under your database’s root node.


When you expand the Services node under the Service Broker node, it becomes readily apparent that, under the covers, SQL Server uses Service Broker services to implement some of its other built-in functionality, including Database Mail.

If you expand a few subnodes under the Service Broker node, you can see most of the new Service Broker constructs:

Messages—These (optionally typed) envelopes contain the data to be interchanged.

Contracts—These rules define the flow of messages (that ...

Get Microsoft® SQL Server 2008 R2 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.