January 11, 2011 at 9:40 am
I have 334 items in a Service Broker queue that has an activation stored procedure. I have checked and Activation is enabled, and the queue is enabled. Anything new put into the queue and the activation procedure will fire off and remove it, but it's not firing off for those 334 items. I profiled Broker Activation and confirmed this. I also ran the activation procedure manually and it also did not remove it. Does anyone have any ideas?
Thanks,
STeven
January 11, 2011 at 11:04 am
Service Broker doesn't remove messages immediately, for a couple of internal reasons. It also won't remove messages that don't close the dialog properly.
Check out these articles, specifically the parts about -- Ending the Conversation --
http://www.simple-talk.com/sql/learn-sql-server/service-broker-foundations-workbench/
http://www.simple-talk.com/sql/learn-sql-server/service-broker-advanced-basics-workbench/
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions[/url] | Forum Netiquette
For index/tuning help, follow these directions.[/url] |Tally Tables[/url]
Twitter: @AnyWayDBA
January 11, 2011 at 11:13 am
Check your sqlinstance errorlog, it may contain messages of your activation procedure !
Maybe these scripts can help you find the issue.
http://www.sqlservercentral.com/scripts/Maintenance+and+Management/31867/
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply