Domanda

I'm trying to create a contract in sql for pushing messages out from sql onto nservicebus (msmq) queues although I'm getting the following error message when executing this code! any ideas why I get this? Thanks, james

CREATE CONTRACT [NServiceBusSendMessageContract] 
(
    [NServiceBusSendMessage] SENT BY ANY 
)

Msg 15151, Level 16, State 1, Line 1
Cannot find the message type 'NServiceBusSendMessage', because it does not exist or you do not have permission.
È stato utile?

Soluzione

Have you done this?

CREATE MESSAGE TYPE [NServiceBusSendMessage]
    VALIDATION = WELL_FORMED_XML
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top