Welcome to the Service Broker Blog
Service Broker is a part of the SQL Server that allows secure, transactional messaging between databases that can be within the same server instance or in different ones. The feature first appeared in...
View ArticleA simple secure dialog with transport certificates
If you want to have a broker dialog between server instances, you have to be concerned with having a secure network connection, which in service broker terminology is called transport security. An...
View ArticleService Broker Periodic Tasks
SSB receives notifications every 5 seconds from the SQL engine's timer framework. SSB in turn counts these notifications and performs its various periodic maintenance tasks at different intervals....
View ArticlePoison Message Handling
Service broker provides automatic poison message detection, which disables the service queue upon five consecutive transaction rollbacks in trying to receive messages from the queue. However, an...
View ArticleReal Time Data Integration with Service Broker and Other SQL Techniques
This article discusses how to use various SQL technologies to accomplish real time data integration between SQL Server instances. It provides a set of sample code to help users with their development....
View ArticleUsing multiple routes in Service Broker
One of main Service Broker components is routing. Whenever you want your messages to leave the database they originate in, you need to provide routes. Setting up routes may become complicated, so if...
View ArticleReusing dialogs with a dialog pool
As noted in various Service Broker sources, it is often advantageous to minimize the overhead of creating dialogs to send messages on. This blog shows how to create a shared pool of dialogs to be able...
View ArticleFast data push tuning
A common use of service broker is the "data push" scenario in which messages are asynchronously sent to a destination such as a data warehouse for storage and processing with minimal impact on the...
View ArticleSecuring a dialog with certificates
This sample shows how to set up a secure dialog using certificates. Service broker will always have a level of security at the transport level, which may include encryption, but this is at a server...
View ArticleAnnouncing Service Broker External Activator
The Microsoft SQL Server Service Broker External Activator (EA) is distributed in the Microsoft SQL Server 2008 Feature Pack. It is an extension of the internal activation feature and lets you move the...
View ArticleService Broker Wait Types
SQL server engine keeps track of wait operations (aka wait types) performed by all its executing threads, either to serialize access to protected structures or to wait for asynchronous...
View ArticleGet Started With Using External Activator
In the blog post Announcing Service Broker External Activator, we introduced Service Broker External Activator and showed what benefits a broker user can get from using it. In this article, we'll get...
View ArticleSample activated application
In today’s post we're providing a sample application skeleton that may be used to play with External Activator, as well as serve as a base for writing custom activated applications. A file with source...
View ArticleExternal Activator Security
This short post deals with security and permission-related aspects of External Activator. Selecting External Activator service account When you install External Activator, you are asked to choose the...
View Article