List exchanges

Show all exchanges with type and durability

rabbitmqctl list_exchanges name type durable

tool
rabbitmq15 commands
tags
rabbitmq

More rabbitmq commands

  • rabbitmqctl list_bindings -p my_vhost

    Show exchange-to-queue bindings for a vhost

  • rabbitmq-plugins enable rabbitmq_management && rabbitmqctl restart

    Enable web UI on port 15672

  • curl -s -u guest:guest http://localhost:15672/api/definitions | jq '.' > rabbitmq-defs.json

    Export all vhosts, exchanges and policies via management API

  • rabbitmqctl list_queues name messages consumers durable

    Show queues with message count and consumer count

  • rabbitmqctl list_exchanges name type durable

    Show all exchanges and their types

all 15 rabbitmq commands