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.

Reply via email to