After I use activemq, have the following a situation in which a message can't persist:
My persistence under the premise of environment has been set up:
Don't start the consumer first, and then start the producer to mq message still inside, then let the mq outage, because there is no consumer mq is subscribed to the news goes down, so again after restarting the mq, found that just producers send message all have no,
, of course, this situation may have big brothers say control good startup sequence does not have to, but I said would happen is in production,
Excuse me each big brother, what is your solution, I want to personally speaking, thank you!!!
CodePudding user response:
The AMQ high availabilityCodePudding user response:
Your persistence ActiveMq not doCodePudding user response:
Data consumption, need to save to the database (hard disk) for persistence, or how much memory is not evil...