Reputation: 3305
guys, I set up a activeMQ cluster following http://activemq.apache.org/replicated-leveldb-store.html. It works fine with persistent message. But I find that non_persistent messages won't sync from master to slave. Is there any way to solve this?
Upvotes: 0
Views: 109
Reputation: 22279
The simple answer is to use persistent messages if you want them to survive a failover.
Non persistent messages are not expected to survive broker failovers and the system should not rely on them being there.
Typical scenarios for non persistent messages are
The benefit is performance as the message does not have to be synced with slaves, does not have to be stored on disk etc. you will have way higher troughput.
Upvotes: 1