Question

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.
Was it helpful?

Solution

Have you done this?

CREATE MESSAGE TYPE [NServiceBusSendMessage]
    VALIDATION = WELL_FORMED_XML
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top