Sha256: 5b88146901e3fc2a9a323e631bcc6ef72c5de3ca51a3c9ad9456e205c92eae17
Contents?: true
Size: 572 Bytes
Versions: 3
Compression:
Stored size: 572 Bytes
Contents
namespace :rabbitmq do desc "Create a RabbitMQ schema for a vhost (comma separated vhosts)" task :create, [:vhosts] do |t, args| RabbitMQ::Definition.create(args[:vhosts]) end desc "Drop all RabbitMQ queues/exchanges/bindings" task :drop do RabbitMQ::Definition.drop end desc "Dump RabbitMQ JSON structure (from defined vhosts or supplied comma separated vhosts) " task :dump, [:vhosts] do |t, args| RabbitMQ::Definition.dump(args[:vhosts]) end desc "Load RabbitMQ JSON structure" task :load do RabbitMQ::Definition.load end end
Version data entries
3 entries across 3 versions & 1 rubygems