Messag...esQueue(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 ✨

Message::Passing::AMQP::Role::DeclaresQueue β€” it's giving role, bestie. Specifically: a role for instances that have an AMQP queue. That's the whole vibe. πŸ¦‹


🌸 ATTRIBUTES 🌸

πŸ’… queue_name

This one defines the queue name. If you don't set it, it defaults to the name the server hands back to you β€” cute, right? Except…

⚠️ Heads up: the server may put restrictions on the queue names it generates, and those restrictions can make the generated names unsuitable in scenarios involving server restarts. 😭

So the recommendation, fr fr: explicitly define the queue name in those cases. Don't leave it to the server and then act surprised. πŸ’€

πŸŽ€ queue_durable

Defines if the queue is durable. Defaults to true. She's sturdy. She's committed. 🫢

🌈 queue_exclusive

Defines if the queue is exclusive. Defaults to false. Not exclusive, she's for everybody. πŸ‘‘

πŸ“ queue_arguments

Defines queue arguments. Defaults to an empty hashref. That's it, that's the tea. ✨

🧚 queue_auto_delete

If true, the queue gets flagged as auto-delete. Defaults to false. So by default she stays put β€” you have to opt in to the vanishing act. πŸ™ˆ


See Message::Passing::AMQP. That's where all the author/copyright/license lore lives, iykyk. πŸ“œ


And that's the whole page, bestie β€” this one came to you courtesy of the User Contributed Perl Documentation, straight outta perl v5.36.0, dated 2022-11-19. Slay, go declare some queues. πŸ’…πŸŒΈ