mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-5160 - start/stop wrapped policy
This commit is contained in:
parent
7bfbce9a54
commit
3ba129561c
|
@ -87,9 +87,15 @@ public class RetainedMessageSubscriptionRecoveryPolicy implements SubscriptionRe
|
|||
}
|
||||
|
||||
public void start() throws Exception {
|
||||
if (wrapped != null) {
|
||||
wrapped.start();
|
||||
}
|
||||
}
|
||||
|
||||
public void stop() throws Exception {
|
||||
if (wrapped != null) {
|
||||
wrapped.stop();
|
||||
}
|
||||
}
|
||||
|
||||
public Message[] browse(ActiveMQDestination destination) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue