我在网上找到的所有使用 SQL Server Service Broker 队列的示例似乎都有两个队列。我不明白为什么,每个例子似乎都假设这是显而易见的,没有必要解释。
有几件事将写入我的队列,存储过程将从队列中读取并插入到数据库中。为什么我需要两个队列?
例如: http: //www.techrepublic.com/article/use-service-broker-internal-activation-in-sql-server-2005/6156264#
t-sql sql-server service-broker
service-broker ×1
sql-server ×1
t-sql ×1