activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph North <joerno...@gmail.com>
Subject Last-Value Queues
Date Fri, 28 Jul 2017 01:00:16 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message