buildQueue方法的疑惑
LZMOvO opened this issue · comments
buildQueue方法里channel声明完交换器和队列后,为什么要channel.close()啊?比如在buildMessageConsumer里 channel可不可以直接给下面的MessageConsumer里获取消息使用呢?
不可以
rabbitmq手动确认模式java封装
LZMOvO opened this issue · comments
buildQueue方法里channel声明完交换器和队列后,为什么要channel.close()啊?比如在buildMessageConsumer里 channel可不可以直接给下面的MessageConsumer里获取消息使用呢?
不可以