Be sure Dispatcher has processed all messages

Post questions here regarding the CodeSite Express edition

Be sure Dispatcher has processed all messages

Postby pmarin » Mon Nov 18, 2013 1:22 pm


How can we be sure that the Dispatcher has processed all messages before closing it?

Kind regards
Posts: 2
Thu Aug 25, 2011 11:32 am

Re: Be sure Dispatcher has processed all messages

Postby Raize Support » Tue Nov 19, 2013 4:47 am

Hi Pablo,

If you are manually closing the Dispatcher by selecting Stop from the Dispatcher menu, then it is best to make sure that the interior of the CodeSite Dispatcher notification icon is white and not yellow. The intensity of the yellow interior indicates the workload of the dispatcher.

If you are programmatically closing the Dispatcher from your application, the end result is no different than selecting the Stop Dispatcher menu item of the Dispatcher. However, there is no way to query the Dispatcher for if there are any messages that still need to be Dispatcher. However, in most cases, you probably won't run into a problem, unless your app is generating a lot of messages in a short time period.

Raize Software Support
Raize Software
Raize Support
Posts: 622
Fri Mar 25, 2011 9:04 pm

Return to Express Edition

Who is online

Users browsing this forum: No registered users and 1 guest