向不存在的exchange发publish消息会发生什么?向不存在的queue执行consume动作会发生什么?

答案解析

publish报错,消息丢失;consume报错或无消息可读。