Interface PendingDurableSubscriberMessageStoragePolicy
- All Known Implementing Classes:
FilePendingDurableSubscriberMessageStoragePolicy,StorePendingDurableSubscriberMessageStoragePolicy,VMPendingDurableSubscriberMessageStoragePolicy
public interface PendingDurableSubscriberMessageStoragePolicy
Abstraction to allow different policies for holding messages awaiting
dispatch to active clients
-
Method Summary
Modifier and TypeMethodDescriptiongetSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub) Retrieve the configured pending message storage cursor;
-
Method Details
-
getSubscriberPendingMessageCursor
PendingMessageCursor getSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub) Retrieve the configured pending message storage cursor;- Parameters:
broker-clientId-name-maxBatchSize-sub-- Returns:
- the Pending Message cursor
-