Abstract
Now that you’ve learned the theoretical concepts about messaging and Service Broker architecture, it’s time to talk about the actual implementation of Service Broker applications. In this chapter, you’ll learn how to write your own Service Broker services and how these services can communicate with each other. I’ll cover the following topics in detail:
-
Defining Service Broker applications: A Service Broker application consists of several Service Broker objects, including message types, contracts, a queue, and a service. You’ll learn how these objects are related to each other and how you can program them.
-
Sending messages: Once you define your Service Broker application, you’re able to send messages between your Service Broker services. You’ll learn how to exchange messages successfully.
-
Retrieving and processing messages: As soon as you send messages to another Service Broker service, you must retrieve and process the messages. You’ll learn how to retrieve and process the messages and how to react to different message types.
-
Error handling: Every robust software application needs error handling; the same is true with Service Broker. Service Broker provides error-handling possibilities that are directly integrated into the infrastructure provided by Service Broker. You’ll learn how to use error handling and how to handle poison messages.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 Klaus Aschenbrenner
About this chapter
Cite this chapter
(2007). Service Broker in Action. In: Pro SQL Server 2005 Service Broker. Apress. https://doi.org/10.1007/978-1-4302-0306-3_3
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0306-3_3
Publisher Name: Apress
Print ISBN: 978-1-59059-842-9
Online ISBN: 978-1-4302-0306-3
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books