Service Broker Samples

Microsoft SQL Server 2005 includes samples that you can use to learn about working with Service Broker. The following table describes the sample available.

Name Description


Provides a simple Service Broker application.


Provides a simple application that registers for, receives, and archives event notification messages.


Shows one way to build an object-oriented programming interface for Service Broker applications.


Shows a simple, stateless application that uses the ServiceBrokerInterface sample.


Uses the conversation group identifier to maintain state for a simple shopping cart application.

Service Broker Ordering Service Sample

The Adventure Works Storefront sample accepts an online order and returns a predefined ship date in the order status screen. This sample adds backend order processing capabilities to Adventure Works Storefront.


Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator.

By default, the Service Broker sample applications are installed at C:\Program Files\Microsoft SQL Server\100\Samples\Engine\\ServiceBroker. If the sample folder is not present, see Installing Samples.

See Also

Other Resources

Introduction to Service Broker Programming

Help and Information

Getting SQL Server 2005 Assistance