Skip to content

Clients that don't advertise the exchange_exchange_bindings capability can't have connections listed. #56

@lukebakken

Description

@lukebakken

https://github.com/michaelklishin/rabbitmq-http-api-rs/blob/main/src/responses.rs#L584-L585

Repro steps:

  • Start a client that doesn't advertise exchange_exchange_bindings (like Pika)
  • Try to list connections using rabbitmqadmin-ng connections list
  • This is the error (screenshot, because coping an ASCII table isn't working right now):

Image

This is due to ClientCapabilities requiring exchange_exchange_bindings to be present in the JSON response. I don't think we can expect any specific capability to be present.

I'll see if I can figure out a fix! I will ensure Pika sends the exchange_exchange_bindings capability in the next release.

Originally found by @tomtaoran

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions