March 7, 2008
Today I had a situation where Service Broker appeared to be running successfully but the activation procedure was not being called and no receive processes were being seen in Profiler. It turned out that the activation procedure had ’switched off’ although there was nothing I could see that indicated this other than the lack of activity. The process was restarted by simpling calling the activation procedure from MS.
The problem in my scenario started when the broker attempted to run a CLR function on a box on which CLR was not enabled (doh!) and by the time this had been enabled and the queue had grown significantly, the activation procedure had shut down.
Leave a Comment » |
SQL Server 2005, Service Broker | Tagged: activation, CLR, procedure, Service Broker |
Permalink
Posted by sqlsurfer
March 7, 2008
We have just deployed my first Service Broker project to the live environment and touch wood everything appears to have gone ok. Sure it took a little massaging to get it through and we certainly learned a few things along the way but thats all part of it right.
Working for a well known job board we are using service broker in conjunction with SQL CLR to do asynnchronous string manipulations to job adverts. Orignally this was something we did through replication but it became clear very quickly that fast as CLR is, replication latency would be effected. So instead we had a re-think and moved the process offline. We’re sure that there are many other applications for Service Broker within our business now.
Leave a Comment » |
Service Broker | Tagged: broker, CLR, queues, Replication |
Permalink
Posted by sqlsurfer