ServiceBrokerListener
ServiceBrokerListener copied to clipboard
Start/Stop and then Start again?
I am trying to use this in an "off-label" application to notify my application when new rows are written so I can process the rows. During the processing more rows may be inserted, and I am not clear how to prevent those events from firing.
I can call Stop() and then call Start() although I did try that and it does not seem to re-start notifications. So I think I'm not using it correctly, but I'm not sure what the correct way to handle this is.
Hi,
Why don’t you just filter out events you don’t need right in the event handler? So notifications will happen, but the rest of the application will get only those events which are important.
Thanks, Dmitrii