RabbitMQ 从命令行创建队列和绑定 [英] RabbitMQ creating queues and bindings from command line

查看:80
本文介绍了RabbitMQ 从命令行创建队列和绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我的机器上安装了 RabbitMQ,有没有办法在不使用客户端的情况下从命令行创建消息队列并将其绑定到某个交换机?

If I have RabbitMQ installed on my machine, is there a way to create a message queue from the command line and bind it to a certain exchange without using a client?

我认为这是不可能的,但我想确定一下.

I think it is not possible, but I want to be sure.

推荐答案

安装 RabbitMQ 管理插件.它带有一个命令行工具,您可以使用它来配置所有队列/交换/等.

Install the RabbitMQ management plugin. It comes with a command line tool which you can use to configure all of your queues/exchanges/etc.

这篇关于RabbitMQ 从命令行创建队列和绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆