Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2008
Service Broker
Operations
Administration
 How to: Activate Service Broker Mes...
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Other versions are also available for the following:
SQL Server 2008 Books Online (October 2009)
How to: Activate Service Broker Message Delivery in Databases (Transact-SQL)

By default, Service Broker message delivery is active in a database when the database is created. When message delivery is not active, messages remain in the transmission queue. To determine if Service Broker is active for a database, check the is_broker_enabled column of the sys.databases catalog view.

ms166086.security(en-us,SQL.100).gifSecurity Note:
Activating Service Broker allows messages to be delivered to the database. A Service Broker endpoint must be created to send and receive messages from outside of the instance.

  1. Alter the database to set the ENABLE_BROKER option.

USE master ;
GO

ALTER DATABASE AdventureWorks SET ENABLE_BROKER ;
GO
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker