Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3766

SubscriptionRecoveryPolicy get the message from message store

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Component/s: Broker
    • Labels:
      None

      Description

      org.apache.activemq.broker.region.policy.SubscriptionRecoveryPolicy shall get message from message store based on subscriptionRecoveryPolicy setting in activemq.xml.
      For example, a setup as below:

      <subscriptionRecoveryPolicy>
      <lastImageSubscriptionRecoveryPolicy/>
      </subscriptionRecoveryPolicy>

      When a new topic subscriber, no matter durable or non-durable, connects to a topic, the subscriber can get the last message.
      But after activemq server restarted, new subscriber can't get last message when connect to same topic, because last message only is kept in memory.
      Current SubscriptionRecoveryPolicy won't prepare the last message from message store for new subscriber and needs to be enhanced to recover message based on policy setting.

      Thank you very much!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              liny liny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: