I was modifying Artemis' last-value queue example and saw some unexpected behavior (gist of the code I'm working with: https://gist.github.com/jrnorth/3040ffc8755be66c0c3ca39285e602b9).
In this example, I sent a 4th and 5th message to exampleQueue after receiving the sole message on the queue (the 3rd message). Then I receive another message from the queue, but it's the 4th message. Since this is a last-value queue, shouldn't I have received the 5th message? I'm using Artemis 2.1. Thanks, Joe