You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "FEI (JIRA)" <ji...@apache.org> on 2013/08/01 10:05:49 UTC
[jira] [Commented] (AMQ-3766) SubscriptionRecoveryPolicy get the
message from message store
[ https://issues.apache.org/jira/browse/AMQ-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726202#comment-13726202 ]
FEI commented on AMQ-3766:
--------------------------
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