Service Broker Tutorials

SQL Server Service Broker is used to create conversations for exchanging messages. Messages are exchanged between two ends: the target and initiator. Messages are used to transmit data, and to trigger processing when a message is received. The target and the initiator can be in the same database, different databases on the same instance of the Database Engine, or on separate instances. All tutorials are for users who are new to Service Broker. To start a tutorial, click one of the following links:

Builds on the first Service Broker tutorial. It shows you how to create a stored procedure to receive messages from a queue, and use internal activation to run the stored procedure whenever there are messages in the queue.