public class NoSubscriptionRecoveryPolicy extends Object implements SubscriptionRecoveryPolicy
Constructor and Description |
---|
NoSubscriptionRecoveryPolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(ConnectionContext context,
MessageReference node)
A message was sent to the destination.
|
Message[] |
browse(ActiveMQDestination dest) |
SubscriptionRecoveryPolicy |
copy()
Used to copy the policy object.
|
void |
recover(ConnectionContext context,
Topic topic,
SubscriptionRecovery sub)
Let a subscription recover message held by the policy.
|
void |
setBroker(Broker broker) |
void |
start() |
void |
stop() |
public NoSubscriptionRecoveryPolicy()
public SubscriptionRecoveryPolicy copy()
SubscriptionRecoveryPolicy
copy
in interface SubscriptionRecoveryPolicy
public boolean add(ConnectionContext context, MessageReference node) throws Exception
SubscriptionRecoveryPolicy
add
in interface SubscriptionRecoveryPolicy
Exception
public void recover(ConnectionContext context, Topic topic, SubscriptionRecovery sub) throws Exception
SubscriptionRecoveryPolicy
recover
in interface SubscriptionRecoveryPolicy
Exception
public Message[] browse(ActiveMQDestination dest) throws Exception
browse
in interface SubscriptionRecoveryPolicy
Exception
public void setBroker(Broker broker)
setBroker
in interface SubscriptionRecoveryPolicy
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.