CREATE MESSAGE TYPE [LogRequest] VALIDATION = WELL_FORMED_XML CREATE CONTRACT [LogServiceContract] AUTHORIZATION [dbo] ([LogRequest] SENT BY ANY) CREATE QUEUE [dbo].[CentralLogQueue] CREATE SERVICE [AppEventLogService] AUTHORIZATION [dbo] ON QUEUE [AppEventDestinationQueue] ([LogServiceContract])
Example 2: Moving a log message into a queue.