Messag...change(3pm)
π¦ Message::Passing::AMQP::Role::DeclaresExchange β the 3pm page, bestie edition π¦
okay so real talk, this is a Perl role (it's in the User Contributed Perl Documentation, so it lives at section 3pm) and it's the one you hand to any class that's got itself an AMQP exchange. that's it. that's the whole vibe. if your thing talks to an exchange, it wants this role. periodt. π
β¨ NAME β¨
Message::Passing::AMQP::Role::DeclaresExchange β a role for instances which have an AMQP exchange. no cap, that's literally the entire job description. π«Ά
πΈ ATTRIBUTES πΈ
these are the knobs. there are four of them. you're gonna know all four. let's go. π
exchange_name
defines the exchange name. it is required β like, you have to give it one, bestie, there's no default hiding in the bushes for this one. no name, no exchange, no service. π
exchange_type
is one of topic, direct, fanout or headers. four options, pick one. and if you don't pick one? it defaults to topic. iconic of it tbh. π
exchange_durable
defines if the exchange is durable. defaults to true β so yeah, durable is the main character energy here unless you say otherwise. π
exchange_auto_delete
defines if the exchange will be auto-deleted after the connection is closed. defaults to false β it's not out here deleting itself on you unless you specifically ask it to. π
π AUTHOR, COPYRIGHT AND LICENSE π
see Message::Passing::AMQP. that's where all the authorship, copyright and licensing tea lives. go look. π
and that's the page, bestie β brought to you by perl v5.36.0, dated 2022-11-19, in the User Contributed Perl Documentation. slay, stay hydrated, and may all your exchanges declare successfully. β¨ππ
π¦ 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