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

    Modifier and Type
    Method
    Description
    boolean
    addRecoveredMessage(ConnectionContext context, org.apache.activemq.broker.region.MessageReference message)
    Add a message to the SubscriptionRecovery
    org.apache.activemq.command.ActiveMQDestination
     
  • Method Details

    • addRecoveredMessage

      boolean addRecoveredMessage(ConnectionContext context, org.apache.activemq.broker.region.MessageReference message) throws Exception
      Add a message to the SubscriptionRecovery
      Parameters:
      context -
      message -
      Returns:
      true if the message is accepted
      Throws:
      Exception
    • getActiveMQDestination

      org.apache.activemq.command.ActiveMQDestination getActiveMQDestination()
      Returns:
      the Destination associated with this Subscription