July 7, 2008 11:00 AM
Posted by: Denny Cherry
Back To Basics,
RECEIVE,
Service Broker,
SQL,
T/SQLThe RECEIVE command is the last of the Service Broker items to cover in the Back To Basics series. The RECEIVE command is what is used to actually get the message out of the queue so that you can process the data within the message_body column. The RECEIVE command works just like the
June 26, 2008 11:00 AM
Posted by: Denny Cherry
Back To Basics,
BEGIN DIALOG,
SEND,
Service Broker,
SQL,
T/SQLThe SEND command was introduced to SQL Server when SQL Server 2005 was released. It's kind of like the INSERT command except that it is used only with the SQL Server Service Broker. With the service broker you put data into a queue instead of a table. Insert of inserting a command into the...
June 19, 2008 11:00 AM
Posted by: Denny Cherry
Back To Basics,
Route,
Service Broker,
SQLRoutes are only needed when sending service broker messages from one server to another. They define the SQL Server and TCP Port which the sending SQL Server will connect to in order to deliver the message. If you are sending the message to a mirrored database, then you can specify the mirror as...