Solved

How to create Service Broker in SQL Server

Posted on 2010-08-24
3
640 Views
Last Modified: 2012-05-10
Hi All,
Can some one tell me the steps to create a service broker b/w 2 databases in SQL Server 2005/2008?
0
Comment
Question by:saratcm
3 Comments
 
LVL 16

Accepted Solution

by:
vdr1620 earned 250 total points
ID: 33517839
0
 
LVL 14

Assisted Solution

by:wolfman007
wolfman007 earned 250 total points
ID: 33522503
When setting up a Service Broker conversation between two databases you need to define

1) a Message Type (defines valid messages for exchange between services)
2) a Contract (specifies types of messages and their direction in a conversation)
3) a Queue (stores messages before sending and after receipt)
4) a Service (addressable endpoint for th service communication
5) a Service Program (processes messages from queues)

have a look at the Service Broker tutorials on MSDN.

Service Broker Tutorials
http://msdn.microsoft.com/en-us/library/bb839489.aspx
0
 

Author Closing Comment

by:saratcm
ID: 33640631
Thanks 2 both of U
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question