Class VMPendingDurableSubscriberMessageStoragePolicy
java.lang.Object
org.apache.activemq.broker.region.policy.VMPendingDurableSubscriberMessageStoragePolicy
- All Implemented Interfaces:
PendingDurableSubscriberMessageStoragePolicy
public class VMPendingDurableSubscriberMessageStoragePolicy
extends Object
implements PendingDurableSubscriberMessageStoragePolicy
Creates a VMPendingMessageCursor *
-
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
-
VMPendingDurableSubscriberMessageStoragePolicy
public VMPendingDurableSubscriberMessageStoragePolicy()
-
-
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
-