- This topic has 2 replies, 2 voices, and was last updated 2023-12-05 at 6:24 am by
David Rose.
-
AuthorPosts
-
-
December 3, 2023 at 6:39 am #3789
I’m seeing the warning
Transporter for [GUID] Not foundin the Dispatcher Log 3 times every 10 mS.
My guess for the reason was that I forgot to set the path variable name in the Dispatcher settings, but should it be creating so many log entries and will something eventually fall over ?
If this is the cause, Is there anyway in my app I can validate if the path Variable_name actualy has been set or use a property that tells codesite to use some default location in the event that it’s not set ?
Cheers
David
-
December 4, 2023 at 1:02 am #3793
Hi David,
The GUID that is displayed in the message represents a DispatchID. In CodeSite 5 (and earlier) when you first send a message to the Dispatcher, a Register Dispatch ID message is sent first and the Dispatcher registers the Dispatch ID with the destination details currently defined and this in turn specifies which Transporter should be used. Therefore, for future messages that include the Dispatch ID, the Dispatcher knows where to route the messages to.
The error messages are showing up in the Dispatcher Log every time the Dispatcher receives a CodeSite message referencing a Dispatch ID that the Dispatcher does not know about. Restarting the application that is generating the CodeSite log messages should stop the error message because a new Dispatch ID will get generated.
The Dispatcher not being able to find a Transporter for a Dispatch ID should rarely happen. Even if the Dispatcher is closed, the current set of Dispatch IDs and Transporters are persisted to disk in the CSDispatchIDs.ini file. The situation can happen if the Dispatcher is forcibly terminated and the Dispatcher does not have a chance to save the Dispatch IDs.
Ray
-
December 5, 2023 at 6:24 am #3794
Hi Ray
Thanks. That makes sense as I was terminating CS from the Task Manager to test some specific code.
David
-
-
AuthorPosts
- You must be logged in to reply to this topic.