Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Paolo Benjamin T. Briones: "I just downloaded the trial and its great! IMHO, its a lot better than the Enterprise Manager from SQL Server".
Jim Salmons: "That is excellent news! I will look forward to a future update with these features. It will be attention to such details that further distinguishes your excellent products from the competition.

As always, I appreciate your great products and your demonstrated customer service is equal to the high quality of your products".

More

Add your opinion

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

 

select the Object | Create Database Object... main menu item;
select the Message Types icon in the Create Database Object dialog

or

select the Message Types list or any object from that list in the explorer tree;
select the Create Message Type ... item from the popup menu

or

open the database in Database Editor and the Message Types tab there;
press the Insert key or select the Create New Message Type ... item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar).

 

 

 

Message Type Editor allows you to change the type options. In order to run the editor you should either

 

select the type for editing in the explorer tree (type the first letters of the type name for quick search);
select the Edit Message Type ... item from the popup menu

or

open the database in Database Editor and the Message Types tab there;
select the type to edit;
press the Enter key or select the Edit Message Type item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar).

 

 

 

To drop a message type:

 

select the type to drop in the explorer tree;
select the Drop Message Type item from the popup menu

 

and confirm dropping in the dialog window.

 



Prev Return to chapter overview Next