ServiceBrokerListener icon indicating copy to clipboard operation
ServiceBrokerListener copied to clipboard

Start/Stop and then Start again?

Open SideshowBob233 opened this issue 7 years ago • 1 comments

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.

SideshowBob233 avatar Oct 22 '17 02:10 SideshowBob233

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

dyatchenko avatar Oct 22 '17 05:10 dyatchenko