ActiveMQ
  1. ActiveMQ
  2. AMQ-2911

Option to make all consumers retroactive

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.0
    • Component/s: Broker
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Our organisation uses ActiveMQ as part of our RadioVIS implementation. One feature we found that we found was missing was the ability to treat all consumers as if they were setting consumer.retroactive=true. i.e. when they connect to a topic, they are instantly sent the topic's last message.
      (We found it necessary to implement server side, as the clients come from a variety of third-party providers, which do not implement the retroactive header).

      Included is a patch that allows this to be configured on a per-topic basis from the configuration file, for example:

      <policyEntry topic=">" producerFlowControl="true" alwaysRetroactive="true" memoryLimit="1mb">
        <subscriptionRecoveryPolicy>
           <lastImageSubscriptionRecoveryPolicy />
        </subscriptionRecoveryPolicy>
      </policyEntry>
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Gary Tully
            Reporter:
            Pete Redhead
          • Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development