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
I have an MQTT protocol specification (asyncapi 3.0.0) which uses parameters in the addresses. These seem to be ignored by glee when it subscribes to the topics.
What happens is that glee will subscribe to the topic 'createUser/{userId}' (literally).
Expected behavior
I guess it's open for debate what the expected behaviour should be, but I expect something along the lines of:
glee subscribes to 'createUser/+' where + is a wildcard accepting any value
glee provides the value for userId as parameter to the handler function.
Or optionally: some sort of call to enable subscriptions to a channel with a specific parameter value supplied.
Additionally, there seems to be no mechanism for sending a message to a channel which has parameters in the address. Maybe that should be another bug, but it's a bit moot at the point since it seems like the specified address is ignored when sending message on a channel (#721)
The text was updated successfully, but these errors were encountered:
@KhudaDad414 I don't know the code base of this project enough to do this myself at this point. But if I get around to it some day, I will of course open a PR.
Describe the bug
I have an MQTT protocol specification (asyncapi 3.0.0) which uses parameters in the addresses. These seem to be ignored by glee when it subscribes to the topics.
How to Reproduce
Create receive channel as follows:
What happens is that glee will subscribe to the topic 'createUser/{userId}' (literally).
Expected behavior
I guess it's open for debate what the expected behaviour should be, but I expect something along the lines of:
Or optionally: some sort of call to enable subscriptions to a channel with a specific parameter value supplied.
Additionally, there seems to be no mechanism for sending a message to a channel which has parameters in the address. Maybe that should be another bug, but it's a bit moot at the point since it seems like the specified address is ignored when sending message on a channel (#721)
The text was updated successfully, but these errors were encountered: