After deeper investigation, I have discovered that when this fails, it is because the first message (the one that ends up missing) is never written to the KahaDB store. I added a trace message to /void upadateIndex(Transaction tx, KahaAddMessageCommand command, Location location) / in order to see exactly when messages were persisted. When the test fails, the first message does not seem to enter this method. I continue to investigate.
-- View this message in context: http://activemq.2283324.n4.nabble.com/Message-sometimes-lost-when-transaction-open-and-broker-restarted-tp4658295p4658621.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.