[ 
https://issues.apache.org/jira/browse/AMQ-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726202#comment-13726202
 ] 

FEI edited comment on AMQ-3766 at 8/1/13 8:05 AM:
--------------------------------------------------

This is really a common requirement in Financial world, while we hope the last 
message to be persistent even after the server restarted. 

Thanks.
                
      was (Author: [email protected]):
    This is really a common requirement in Financial world, while we hope the 
last message to be persistent even after the sever restarted. 

Thanks.
                  
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to