Interface SubscriptionRecovery
-
- All Known Subinterfaces:
Subscription
- All Known Implementing Classes:
AbstractSubscription
,DurableTopicSubscription
,PrefetchSubscription
,QueueBrowserSubscription
,QueueSubscription
,TopicSubscription
public interface SubscriptionRecovery
An interface for recoverying transient messages held by the broker for retractive recovery for subscribers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addRecoveredMessage(ConnectionContext context, MessageReference message)
Add a message to the SubscriptionRecoveryActiveMQDestination
getActiveMQDestination()
-
-
-
Method Detail
-
addRecoveredMessage
boolean addRecoveredMessage(ConnectionContext context, MessageReference message) throws Exception
Add a message to the SubscriptionRecovery- Parameters:
context
-message
-- Returns:
- true if the message is accepted
- Throws:
Exception
-
getActiveMQDestination
ActiveMQDestination getActiveMQDestination()
- Returns:
- the Destination associated with this Subscription
-
-