You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Paolo Casagranda (JIRA)" <ji...@apache.org> on 2011/04/07 18:07:05 UTC

[jira] [Commented] (AMQ-2911) Option to make all consumers retroactive

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

Paolo Casagranda commented on AMQ-2911:
---------------------------------------

Very useful patch! The "always retroactive" flag could be an important basic feature in some scenarios.
I hope it will be included in next (5.6?) release.


> Option to make all consumers retroactive
> ----------------------------------------
>
>                 Key: AMQ-2911
>                 URL: https://issues.apache.org/jira/browse/AMQ-2911
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Pete Redhead
>            Priority: Minor
>         Attachments: amq-alwaysretroactive.patch
>
>
> 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:
> {code:xml}
> <policyEntry topic=">" producerFlowControl="true" alwaysRetroactive="true" memoryLimit="1mb">
>   <subscriptionRecoveryPolicy>
>      <lastImageSubscriptionRecoveryPolicy />
>   </subscriptionRecoveryPolicy>
> </policyEntry>
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira