简体   繁体   中英

JMS is listener is down for 2 hour then How recover message once it is up from topic

suppose I have Durable Topic and three client as Receiver clientA, clientB, clientC and so on. clientA is down for 2 hour, once clientA is up, how should we have guaranty that clientA will receive all messages from last two hour(which was missed in downtime).

First of all, there is no "Durable Topic". There is "Durable Subscription" which is what you meant I guess. A durable subscription ensures that publications are held by the messaging provider till the consumer (client A in your case) comes back and resumes subscription. Once the consumer resumes subscription, all those publications held by the messaging provider will be delivered.

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