You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Bob G." <ae...@hotmail.com> on 2008/04/09 02:45:55 UTC

Configuring a custom SubscriptionRecoveryPolicy

Hello,
 When my Subscriber connect to my Topic, I would like to resend a specific
group of messages. I cannot use any of the Recovery Policies listed here
http://activemq.apache.org/subscription-recovery-policy.html.

How do I configure or inject my custom SubscriptionRecoveryPolicy Bean  into
the policyEntries listed in the xml config file?

I tried this with no success: 
[…]
<bean id="mySubscriptionRecoveryPolicy"
class="com.mycompany.MySubscriptionRecoveryPolicy" />
<policyEntry topic="FOO.>" producerFlowControl="false" memoryLimit="1mb">
            <dispatchPolicy>
              <strictOrderDispatchPolicy/>
            </dispatchPolicy>
            <subscriptionRecoveryPolicy>
              <mySubscriptionRecoveryPolicy/>
            </subscriptionRecoveryPolicy>
          </policyEntry>



-- 
View this message in context: http://www.nabble.com/Configuring-a-custom-SubscriptionRecoveryPolicy-tp16577113s2354p16577113.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.