You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Tim Bain <tb...@alumni.duke.edu> on 2021/12/02 04:33:10 UTC

Re: Fw:configure RetainedMessageSubscriptionRecoveryPolicy

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 问亚兵 <ya...@163.com> wrote:

>
>
>
>
>
>
> -------- Forwarding messages --------
> From: "问亚兵" <ya...@163.com>
> Date: 2021-11-30 19:52:29
> To: dev-subscribe@activemq.apache.org,users-subscribe@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?
>
>
>
>
>
>