I recently restored my database from a backup and it seems that something in my service broker setup has stopped working, no messages now appear.
I checked that the broker was enabled (it wasnt and i had to use NEW_BROKER because of the 'same id' message)
The database is still set to trustyworthy.
There are also no messages in sys.transmission_queue
I used profiler with all the broker events enabled and the result was as follows:
Broker:Conversation Group
Broker:Conversation STARTED_OUTBOUND
Broker:Conversation CONVERSING
Broker:Message Classify
Broker:Conversation CLOSED
Broker:Conversation Group
Broker:Message Classify
But i'm not sure whether this highlights a problem or not? Any help gratefully appreciated!!
Thanks,
Andy
Hi,
I had the complete conversation - including the end of the conversation - in a stored procedure.
This was the reason i wasn't getting anything in sys.transmission_queue - i didnt end the conversation and the error appeared.
It turned out to be a permissions thing as when i'd restored the database it had set the owner to [SA]
Sorry for wasting your time if you'd bothered to read my problem!
Cheers,
Andy
No comments:
Post a Comment