LIBRABBITMQ-TOOLS(7)

πŸ’– LIBRABBITMQ-TOOLS πŸ’–

okay bestie, so this is librabbitmq-tools, section 7 of the RabbitMQ C Client manual, and lemme tell you it's the vibe hub for a whole lil family of command line tools πŸ‡βœ¨


πŸŽ€ NAME πŸŽ€

librabbitmq-tools β€” Command line AMQP tools. that's it, that's the name, iconic behavior πŸ’…


✨ DESCRIPTION ✨

So like, picture a whole set of command line AMQP tools, right? They're all built on top of librabbitmq, and they're all super close β€” same family, same energy 🫢

This page? It's the group chat rules doc. It describes the common options and conventions that every single one of these tools shares. So once you read this, you basically know how to talk to all of them. no cap πŸ˜­πŸ’–


🌸 COMMON OPTIONS 🌸

every tool in the squad speaks this language, fr fr:

  • -u, --url=amqp://... β€” the AMQP URL you wanna connect to πŸ¦‹. Heads up: this takes precedence over the AMQP_URL environment variable. And if neither one is given? Then the default connection parameters get used.
  • -s, --server=hostname:port β€” the host name (or the address) to connect to 🏠. It defaults to localhost. You can also throw a port number in there; if you skip the port, it just defaults to the standard AMQP port number, which is 5672 ⭐
  • --vhost=vhost β€” the AMQP vhost to specify when connecting πŸŽ€. Defaults to /.
  • --username=username β€” the username you authenticate to the AMQP server with πŸ‘‘. Defaults to guest.
  • --password=password β€” the password you authenticate to the AMQP server with πŸ”. Defaults to guest.
lowkey note the vibe: guest/guest is the default, but like, that's just the default, okay? don't come for me, I'm literally just reading the manual πŸ’€

🌈 ENVIRONMENT VARIABLES 🌈

  • AMQP_URL β€” this one specifies the default AMQP URL to connect to ✨. BUT β€” and this is the important part β€” it gets ignored if any connection option is given on the command line. Which options count as "any connection option"? We're talking --url, --server, --port, --username, --password, or --vhost πŸ’…. Command line wins, always. periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

the rest of the friend group, go say hi bestie:


πŸ’œ AUTHOR πŸ’œ

The RabbitMQ Team <info@rabbitmq.com> β€” they did that, and we're grateful 🫢


and that's the whole page, babes 🌸 this came out of the RabbitMQ C Client release, dated 2026-10-13, sitting pretty in section LIBRABBITMQ-TOOLS(7) β€” slay, ate, no crumbs πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from