I'd initially outlined a problem here, and chose to see if I could get the
retroactive consumer support to work.
http://old.nabble.com/Coping-with-forgetful-subscribers-tp29292239p29294876.html


I've got a broker with a configured persistenceAdapter set up with a
timedSubscriptionRecoveryPolicy that covers the last 24 hours on a
particular topic. I've got a consumer for that topic connecting as a durable
subscriber using a known consistent clientId.

The behavior I'm seeing is not what I'd expect though.

  - With everything up and the consumer connected, everything's fine.
Messages come in, the broker sends them on to the consumer.
  - If I disconnect the consumer and reconnect, I get my expected dose of
retroactive messages.
  - But, if I disconnect the consumer, send a message, then reconnect, the
consumer only gets the new, "undelivered" message.

The undelivered message seems to trump the retroactive messages. I'd expect
to get the retroactive messages followed by the undelivered message.

Bug? Misconfiguration?
-- 
View this message in context: 
http://old.nabble.com/Retroactive-consumer-cases-tp29449185p29449185.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to