Skip to content
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

Deserialization errors when there are Mqtt queues present on the Vhost #347

Open
TrevorMare opened this issue Oct 23, 2024 · 1 comment
Open

Comments

@TrevorMare
Copy link

The queue object cannot be deserialized when there are Mqtt queues present on the vhost.

I suspect that it may be the queue type enum that is failing to deserialize. Attached is an example of the json that is returned via the management Api.

{
        "arguments": {
        },
        "auto_delete": false,
        "durable": true,
        "exclusive": true,
        "name": "mqtt-subscription-direct_command_response_1fbcaqos0",
        "node": "redacted",
        "type": "rabbit_mqtt_qos0_queue",
        "vhost": "marcvhost"
    }

I am unsure of when this type is actually set though. I initially thought it may be something with the Qos type but this is not the case.

image

@zidad
Copy link
Member

zidad commented Oct 24, 2024

Yes that makes sense, if it can contain values like these maybe we need to change it to a string with some constants in the project instead of an enum... Care you create a PR for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants