Setting Up Contracts for Communication
You use contracts to specify which messages can flow from which endpoints to which queues. Two T-SQL keywords come into play here:
INITIATOR—This service begins a messaging conversion.
TARGET—This service engages in (or accepts) conversions with an initiator.
As described earlier, the sample system is initiated by a stored procedure in AdventureWorks2012
that sends a message of type CatalogChangeMessage
to a queue in XCatMgmt
. Every CatalogChangeMessage
is thus sent by a conversation initiator.
The catalog ...
Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.