Today’s Bug
I Error: failed to start the order micro service. The message listening class cannot find the queue
org.springframework.amqp.rabbit.listener.BlockingQueueConsumer$DeclarationException: Failed to declare queue(s):[queue.ordertimeout]
2、 Reason: The configured dead letter queue is invalid and cannot be found
3、 Review the following configuration steps:
1. Create switch: exchange.ordertimeout – & gt; Fanout type
2. Create queue: queue.ordertimeout
3. Bind switch exchange.ordertimeout and queue.ordertimeout
4. Create queue.ordercreate
(1) Arguments1: s-message-ttl=10000
(2) Arguments2: x-dead-letter-exchange: exchange.ordertimeout
5. Principle: after creating an order – & gt; The lifetime of message queue.ordercreate is 10 seconds – & gt; After expiration, enter the dead letter exchange.ordertimeout – & gt; Forward to message queue.ordertimeout
Read More:
- Resolve rabbitmq declarationexception: failed to declare queue exception
- Processing method of SVN error “failed to run the WC DB work queue associated with…”
- Cause analysis and solution of “SVN: e155009: failed to run the WC DB work queue associated with”
- Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently
- Python uses the priority queue to get the maximum k elements
- Some processing experiences of failed to notify build listener
- Failed to set up listener: socketexception: address already in use
- Error:Failed to notify project evaluation listener.
- Error: unable to perform an operation on node ‘rabbit@rabbitma‘ please see diamostics infoxmation
- Solution to Tomcat starting error listener start
- error: unknown type name ‘Q_DECLARE_METATYPE‘
- AttributeError: module ‘pkg_resources‘ has no attribute ‘declare_namespace‘
- JDBC connection to Oracle: listener used the connection with the following error: ora-12505
- ERROR queue.BoundedInMemoryExecutor: error producing records0] org.apache.parquet.io.ParquetDecoding
- Navicate premium Connecting to a remote Oracle,ORA-12514: TNS:listener does not currently know of service requested in c
- Java uses the same event listener for the same type of component
- How to Fix Failed to start service jboss.deployment.unit.”jboss-as-bmt.war”.INSTALL: org.jboss.msc.service.S
- [Solved] VUE3.0 Warning: Added non-passive event listener to a scroll-blocking ‘mousewheel‘ event如何解决
- ERROR 11668 — [ restartedMain] o.s.boot.SpringApplication : Application run failed
- IntelliJ idea solves Tomcat error: error listener start