You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing a MessageListener, the listener works as expected when Message(...) is in the primary CQL file. However, when Message() is in a referenced library, it does not work as expected.
For example, FHIRHelpers has several different Message() calls, but they will not trigger a call to an implemented MessageListener.
In debugging, a NullMessageListener would be instantiated for such library Message calls. I discussed with @cmoesel, who identified that this.messageListener should be added as a final parameter in the constructors here and here. I tried out this solution, and it appears to have resolved the issue.
I'd like to ask that this solution be considered and added.
The text was updated successfully, but these errors were encountered:
Hi cql-execution team!
When implementing a MessageListener, the listener works as expected when
Message(...)
is in the primary CQL file. However, whenMessage()
is in a referenced library, it does not work as expected.For example, FHIRHelpers has several different
Message()
calls, but they will not trigger a call to an implementedMessageListener
.In debugging, a
NullMessageListener
would be instantiated for such libraryMessage
calls. I discussed with @cmoesel, who identified thatthis.messageListener
should be added as a final parameter in the constructors here and here. I tried out this solution, and it appears to have resolved the issue.I'd like to ask that this solution be considered and added.
The text was updated successfully, but these errors were encountered: