MS SQL Maestro online Help
Prev | Return to chapter overview | Next |
Message types
MS SQL Maestro supports Service Broker communications designed around reliable, asynchronous message delivery. Applications that use Service Broker communicate by sending messages to one another as part of a conversation. The participants in a conversation must agree on the name and content of each message. A message type object defines a name for a message type and defines the type of data that the message contains. Message types persist in the database where the message type is created. You create an identical message type in each database that participates in a conversation.
Each message type specifies the validation that SQL Server performs for messages of that type. SQL Server can validate that the message contains valid XML, that the message contains XML conforming to a particular schema, or that the message contains no data at all. For arbitrary or binary data, the message type can specify that SQL Server does not validate the content of the message.
Validation is performed when the destination service receives the message. If the content of the message does not match the validation specified, Service Broker returns an error message to the service that sent the message.
Create Message Type Wizard guides you through the process of creating a new type of Service Broker messages. In order to run the wizard you should either
or
or
|
Message Type Editor allows you to change the type options. In order to run the editor you should either
or
|
To drop a message type:
and confirm dropping in the dialog window.
|