activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Wartes <>
Subject Retroactive consumer cases
Date Mon, 16 Aug 2010 18:37:11 GMT

I'd initially outlined a problem here, and chose to see if I could get the
retroactive consumer support to work.

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:
Sent from the ActiveMQ - User mailing list archive at

View raw message