报错:13:27:16.268 ERROR [AMQP Connection 127.0.0.1:5672] [o.s.a.r.c.CachingConnectionFactory]:1247 - Channel shutdown: connection error; protocol method: #method<connection.close>(reply-code=503, reply-text=COMMAND_INVALID - unknown exchange type ‘x-delayed-message’, class-id=40, method-id=10)
https://www.jianshu.com/p/2ecad37d64ff
注意了,文中的命令行必须要在sbin目录下敲!如图: