Помогите с Service Broker

Дмитрий Александров
Дата: 12.09.2006 12:44:27
Пытаюсь разобраться с subj. Не могу заставить работать простой пример. Где ошибка?

create message type ExMsg validation = well_formed_xml;

create contract ExCont (ExMsg sent by any);

create queue [dbo].[ExQ];

create service ExS on queue [dbo].[ExQ];

begin tran
declare @msg xml
set @msg = N'<message>Hello, Asshole!</message>'
declare @dialog uniqueidentifier;
begin dialog conversation @dialog
from service ExS
to service 'ExS'
on contract ExCont;
send on conversation @dialog message type ExMsg (@msg);
end conversation @dialog;
commit


select * from [dbo].[ExQ]

Последний селект не выводит ничего, @@error = 0. Куда копать?