Quantcast
Channel: SQL Service Broker forum
Viewing all articles
Browse latest Browse all 461

Safe way to terminate a blocking RECEIVE?

$
0
0

I can configure my windows service to call TSQL Receive with an infinite timeout (using SqlCommand / ADO.NET).  Is there a recommended / safe way of breaking out of a RECEIVE that is waiting indefinitely (close the SqlConnection? Thread.Abort maybe)?

scott


Viewing all articles
Browse latest Browse all 461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>