Tom Moreau
4/1/2007 12:22:00 AM
Consider beginning a transaction, attempting "the work", if "the work"
fails, rolling back the transaction and sending an error message back to the
initiator?
--
Tom
----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
.
"scott ocamb" <socamb@kiinc.com> wrote in message
news:%23z0ksQ%23cHHA.2088@TK2MSFTNGP05.phx.gbl...
I am building a service broker implementation.
Our website allows a user to select a bunch of emails to send. These emails
are send to a service broker queue.
The receive queue executes an extended stored procedure written in C#. This
proc performs mail merge work on the body and sends the email.
I have noticed that when an error occurs, the item is no longer in the
service broker queue. This is not good of course. I was expecting some sort
of error or retry queue like biztalk has.
so..
my question is how can i recover form errors and not loose items that have
been queued up.
scott