I've been looking into implementing an external activator in SQL Server Express 2005, and I added the queues, services, contracts, and event notifications to the database. I also added a trigger to send a message to the target queue. Everything parses, runs, and the trigger is firing. However, when I select from the target queue, or use a quick T-SQL script to receive from the queue, nothing is there.
I'm wondering:
- How is that even possible? Are the messages being auto-received?
- Is there any way to check while sending a message if it arrived correctly?
- Is there a better way to run a process on the server asynchronously after a trigger is fired?
As an aside, good tutorial material for the Service Broker is hard to find. If anyone has any resources, please let me know. Right now, I'm reading a book from our companies' online resource but even that is a pain to filter through.
Thanks,
William