v0.29.0
v0.29.0 (Mar 23, 2025)
Breaking Changes
-
definitions export
's special--file
value of-
for "standard input" is deprecated. Use--stdout
instead:rabbitmqadmin definitions export --stdout > definitions.json
# exports 3.x-era definitions that might contain classic queue mirroring keys, transforms # them to not use any CMQ policies, injects an explicit queue type into the matched queues, # and drops all the policies that had nothing beyond the CMQ keys, # then passes the result to the standard input of # 'rabbitmqadmin definitions import --stdin' rabbitmqadmin --node "source.node" definitions export --transformations strip_cmq_keys_from_policies,drop_empty_policies --stdout | rabbitmqadmin --node "destination.node" definitions import --stdin
Enhancements
-
definitions import
now supports reading definitions from the standard input instead of a file.
For that, pass--stdin
instead of--file "/path/to/definitions.json"
.rabbitmqadmin definitions import --stdin < definitions.json
cat definitions.json | rabbitmqadmin definitions import --stdin
# exports 3.x-era definitions that might contain classic queue mirroring keys, transforms # them to not use any CMQ policies, injects an explicit queue type into the matched queues, # and drops all the policies that had nothing beyond the CMQ keys, # then passes the result to the standard input of # 'rabbitmqadmin definitions import --stdin' rabbitmqadmin --node "source.node" definitions export --transformations strip_cmq_keys_from_policies,drop_empty_policies --stdout | rabbitmqadmin --node "destination.node" definitions import --stdin