Anything interesting in the logs?
There is really nothing to see in the log! From here I have the information, that the first message is vanished (log4j output with the message id after entering onMessage).
he one thing I can add is, how I put the message manually in the queue: I use a small jUnit test which put one message with XML data in the queue. I write down the generated id from the XML which I write to System.out and run the next test. May be that could help a little more....
Many thanks for your efforts in advance :o)
Another thing I can add is (also information from the logs), that 5 seconds before the database connection is rebuild the first message is provided the last time by the onMessage method. And every 3 seconds in the time before.