Messag...esQueue(3pm)
β¨ 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. π
π AUTHOR, COPYRIGHT AND LICENSE π
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. π
πΈ
π¦ where this page comes from
- debian bookworm: libmessage-passing-amqp-perl 0.008-2 Β· LGPL-2.1-only
- debian trixie: libmessage-passing-amqp-perl 0.008-2 Β· LGPL-2.1-only
- ubuntu noble: libmessage-passing-amqp-perl 0.008-2 Β· LGPL-2.1-only
- ubuntu resolute: libmessage-passing-amqp-perl 0.008-2 Β· LGPL-2.1-only
- ubuntu stonking: libmessage-passing-amqp-perl 0.008-2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms