Please post questions to the mailing list, rather than emailing people directly.
I've never used that policy, but the Javadoc[1] says its constructor takes a 'SubscriptionRetentionPolicy wrapped' object, and the schema docs[2] show that the other policies listed on that page are available options. So I think you'd need something like <retainedMessageSubscriptionRecoveryPolicy><lastImageSubscriptionRecoveryPolicy/></retainedMessageSubscriptionRecoveryPolicy>. Tim 1. https://javadoc.io/static/org.apache.activemq/activemq-broker/5.15.11/org/apache/activemq/broker/region/policy/RetainedMessageSubscriptionRecoveryPolicy.html 2. https://javadoc.io/static/org.apache.activemq/activemq-broker/5.15.11/org/apache/activemq/broker/region/policy/RetainedMessageSubscriptionRecoveryPolicy.html On Wed, Dec 1, 2021, 8:39 PM 问亚兵 <yabing...@163.com> wrote: > > > > > > > -------- Forwarding messages -------- > From: "问亚兵" <yabing...@163.com> > Date: 2021-11-30 19:52:29 > To: dev-subscr...@activemq.apache.org,users-subscr...@activemq.apache.org > Subject: configure RetainedMessageSubscriptionRecoveryPolicy > configure RetainedMessageSubscriptionRecoveryPolicy : > > <destinationPolicy> > <policyMap> > <policyEntries> > <policyEntrytopic=">"> > <subscriptionRecoveryPolicy> > <retainedMessageSubscriptionRecoveryPolicy/> > </subscriptionRecoveryPolicy> > </policyEntry> > </policyEntries> > </policyMap> > </destinationPolicy> > > configure RetainedMessageSubscriptionRecoveryPolicy startup error, the > error message is as follows: > > > How to configure RetainedMessageSubscriptionRecoveryPolicy? > > > > > >