Class FilePendingDurableSubscriberMessageStoragePolicy
java.lang.Object
org.apache.activemq.broker.region.policy.FilePendingDurableSubscriberMessageStoragePolicy
- All Implemented Interfaces:
PendingDurableSubscriberMessageStoragePolicy
public class FilePendingDurableSubscriberMessageStoragePolicy
extends Object
implements PendingDurableSubscriberMessageStoragePolicy
Creates a PendIngMessageCursor for Durable subscribers *
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub) Retrieve the configured pending message storage cursor;
-
Constructor Details
-
FilePendingDurableSubscriberMessageStoragePolicy
public FilePendingDurableSubscriberMessageStoragePolicy()
-
-
Method Details
-
getSubscriberPendingMessageCursor
public PendingMessageCursor getSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub) Retrieve the configured pending message storage cursor;- Specified by:
getSubscriberPendingMessageCursorin interfacePendingDurableSubscriberMessageStoragePolicy- Parameters:
broker-clientId-name-maxBatchSize-sub-- Returns:
- the Pending Message cursor
-