Включить сервисный брокер в SQL Server
alter database [<dbname>] set enable_broker with rollback immediate;
Akang Toshi
alter database [<dbname>] set enable_broker with rollback immediate;
--How to configure service broker
1. Enable the Service Broker on the database
2. Create valid Message Types.
3. Create a Contract for the conversation.
4. Create Queues for the Communication.
5. Create Services for the Communication.
--How to send a Message on service broker
1. Determine the Services and contract.
2. Prepare the Message
3. Send the Message.