can any one explain why?
select * from sys.conversation_endpoints shows the correct
conversion group which i sending in the queue
Input data into the queue
========================
begin transaction
BEGIN DIALOG CONVERSATION @dh
FROM SERVICE [SourceService]
TO SERVICE 'TargetService'
ON CONTRACT [XMLValidationContract]
with related_conversation_group = 'A079C5FF-28D7-457C-B669-8066BEE8F06D',
encryption = off;
SEND ON CONVERSATION @dh MESSAGE TYPE [XMLValidationTemplate]
(<Info>12345</Info>)
commit transaction
Target que proc
=============================
create proc TargetProc
as
declare @ConversationGroupID uniqueidentifier
WAITFOR (
GET CONVERSATION GROUP @ConversationGroupID FROM TargetQueue),
TIMEOUT 1000
if(@ConversationGroupID <>'A079C5FF-28D7-457C-B669-8066BEE8F06D')
begin
raiseerror('Error".....
end
You can specify the converation group id on the initiator (source), but not
on the target. If you need to serialize messages so that the receives are
serialized on the target side, use a single conversation. If you need to
serialize the receives of the responses from different targets on the
initiator side, use a conversation group.
Hope this helps,
Bob Beauchemin
SQLskills
"skg" <s...@discussions.microsoft.com> wrote in message
news:1E4CF7F1-08F1-4078...@microsoft.com...
"Bob Beauchemin" <no_bob...@sqlskills.com> wrote in message
news:uHbR0dtj...@TK2MSFTNGP05.phx.gbl...