My application works correctly with JDBC persistence using derby, or indeed with no persistence turned on.
If I use the AMQ store however, very early on in the application's run, I get the following error, and then my application hangs. This happens for both the VM and TCP transports.
[VMTransport] 35346 ERROR org.apache.activemq.store.amq.RecoveryListenerAdapter - Message id ID:tamarama-60079-1191564856100-2:2:3:3:4 could not be recovered from the data store!
I have attached a debug trace of the application, which shows the lifetime of message tamarama-60079-1191564856100-2:2:3:3:4.