简体   繁体   中英

Spring MQ Consumer fault tolerance

I have a scenario to create fault tolerant MQ listener/consumer using java spring. We plan to deploy as a sprint boot MQ listener across multiple servers but only 1 should be able to consume it. So once it is down the other listener should start picking up the message. Please suggest how to achieve it. Thanks

JMS itself has no support for exclusive consumers; consult your JMS provider documentation to see if it provides such functionality as an extension.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM