-
-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QueuedMessageRouter does not work : message are not sent to queue #979
Comments
I also see this with
|
The issue is the line the With it there, the compiler selects the base template member function, instead of the top level virtual function. The template member functions were added a while ago to enable more efficient calls when using concrete message types. I have removed it from the example code. |
Hello. |
It's used to give visibility of a base class function that been overloaded by the derived. |
…re-not-sent-to-queue' into development # Conflicts: # test/test_message_router.cpp
Using last commit in master (a88a48d)
Running under ubuntu 22 linux desktop (amd64), this is the output result :
After running in debug mode I found out that we never jump into the overrided receive that use the generic message, but the templated one. The only way to force going to the overrided receive in the example is to static cas the message to the generic type (or declare a generic variable pointing to the created message) :
Then the output is as expected :
The text was updated successfully, but these errors were encountered: