Service Broker Routing and Networking
Service Broker communications are designed around reliable, asynchronous message delivery. Service Broker uses the authentication features that are provided by SQL Server to help protect against unauthorized access to a service. To help protect message data, Service Broker also allows you to encrypt messages that leave the instance.
Communication between two applications occurs through messages. As an application sends messages, Service Broker handles the details of locating a route for the service and transmitting the message to the network address specified by the route.
Service Broker communicates the status of a conversation to an application through messages. Service Broker indicates errors, the end of a conversation, and timer events by sending a message to the service. Like all other messages, these messages are associated with a specific conversation.
Because messages from Service Broker and messages from the other side of the conversation arrive in the same way, an application processes both kinds of messages from Service Broker and messages from the other side of the conversation in the same way. Using the same programming model to process all messages simplifies application development. Using the same programming model also allows Service Broker applications to be redeployed without changes to application code.