Messag...sAQueue(3pm)

πŸ“¦
version 0.008 Β· 2 versions
  • 0.008 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.008 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ‘‘ NAME

okay bestie, say hi to Message::Passing::AMQP::Role::BindsAQueue β€” she's a Perl role, living her life in the User Contributed Perl Documentation section, manual page 3pm, and she is exactly what her name says she is. πŸ’…


✨ DESCRIPTION ✨

So here's the tea, fr fr: this is a role for components that cause a single queue to be bound to a single exchange with a single routing key.

That's it. That's the whole vibe. One queue, one exchange, one routing key β€” a little monogamous trio, and she ships the glue that makes it happen. πŸŽ€


πŸ¦‹ ATTRIBUTES πŸ¦‹

🌸 bind_arguments

Gets passed to Message::Passing::AMQP::ConnectionManager. Defaults to false.

Like… she's just the messenger here. Whatever you hand her gets handed straight along to the connection manager. And if you hand her nothing? false. That's the default. No drama. πŸ™ˆ

🌸 bind_routing_key

Defaults to "#".

And no, that "#" is not a hashtag, bestie, it's a wildcard β€” it matches any routing key. So by default she's like "yeah sure, bind me to literally everything." Iconic. She's flexible like that. ✨


πŸ’– CONSUMES πŸ’–

Not me listing her whole friend group, because this role pulls in three other roles and she could not do the thing without them:

  • Message::Passing::AMQP::Role::BindsQueues
  • Message::Passing::AMQP::Role::DeclaresExchange
  • Message::Passing::AMQP::Role::DeclaresQueue

Bind the queues, declare the exchange, declare the queue. The holy trinity. She ate. πŸ‘‘


lowkey a reminder: everything above is the whole page β€” I didn't drop a single option, default, or role name. Go check the source if you need more, iykyk. 🫢

k byeee, this page was brought to you by perl v5.36.0 and dated 2022-11-19 β€” yes she's from last year but she's still serving, periodt. 🌈⭐