Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

类似于 xxx.xxx.xxx.xx 这种的队列名称 文件名需要怎么写 #13

Closed
timelessonly opened this issue May 18, 2023 · 5 comments
Closed

Comments

@timelessonly
Copy link

No description provided.

@timelessonly
Copy link
Author

还有一个问题 文件名是否就是队列名
比如我有一个test队列 那文件名就必须为test

@chaz6chez
Copy link
Member

这个插件无需去rabbitmq后台创建queue、exchange等操作,创建好builder后,启动消费者/生产者发布消息的时候会自动创建关联的内容;
如果是已经创建的队列想要接入builder,只需要将builder类中对应的queueName和exchangeName对应改成你在rabbitmq后台所创建的即可。

@timelessonly
Copy link
Author

能给个示例吗?

@chaz6chez
Copy link
Member

能给个示例吗?

非常不好意思,最近太忙了,1.x版本您可以参照以下方案实现

  1. 创建一个CustomBuilder,实现BuilderInterface
  2. 将FastBuilder的内容拷贝至CustomBuilder
  3. 修改构造函数的内容,将queue命名的部分进行调整和修改

@timelessonly
Copy link
Author

十分感谢

@chaz6chez chaz6chez pinned this issue Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants