Spring boot integration exception of RabbitMQ

 com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no queue 'hello1' in vhost '/', class-id=50, method-id=10

You need to create a new message queue, and ensure that the key (hello below) of each message queue exists.

@RabbitListener(queues = "hello")

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325117417&siteId=291194637