Announcement Announcement Module
Collapse
No announcement yet.
a exception about consumer cannot find the rabbitmq queue Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • a exception about consumer cannot find the rabbitmq queue

    I config the container and listener on the side of consumer, it will get message from the queues .as soon as the project start ,i make spring set StatefulRetryOperationsInterceptor.but if i don't create queue,the programe will throw exceptions and shut down.How can I do to make the exception not shut down my programe?
    Code:
     com.rabbitmq.client.ShutdownSignalException: channel error; reason: {#method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no queue 'ff' in vhost '/', class-id=50, method-id=10), null, ""}
    	at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:454)
    	at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:294)
    	at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)
    	at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)
    	at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:526)
Working...
X