|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SubscriptionRecoveryPolicy
Abstraction to allow different recovery policies to be plugged into the region implementations. This is used by a topic to retroactively recover messages that the subscription missed.
| Method Summary | |
|---|---|
boolean |
add(ConnectionContext context,
MessageReference message)
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)
|
| Methods inherited from interface org.apache.activemq.Service |
|---|
start, stop |
| Method Detail |
|---|
boolean add(ConnectionContext context,
MessageReference message)
throws Exception
context - message -
Exception
void recover(ConnectionContext context,
Topic topic,
SubscriptionRecovery sub)
throws Exception
context - topic - sub -
Exception
Message[] browse(ActiveMQDestination dest)
throws Exception
dest -
ExceptionSubscriptionRecoveryPolicy copy()
void setBroker(Broker broker)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||