SubscriptionRecoveryPolicy get the message from message store
-------------------------------------------------------------
Key: AMQ-3766
URL: https://issues.apache.org/jira/browse/AMQ-3766
Project: ActiveMQ
Issue Type: Improvement
Components: Broker
Affects Versions: 5.5.1
Reporter: liny
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:
{quote}
<subscriptionRecoveryPolicy>
<lastImageSubscriptionRecoveryPolicy/>
</subscriptionRecoveryPolicy>
{quote}
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!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira