Uses of Interface
dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumerNotifications
-
Packages that use DurableQueueConsumerNotifications Package Description dk.cloudcreate.essentials.components.foundation.messaging.queue -
-
Uses of DurableQueueConsumerNotifications in dk.cloudcreate.essentials.components.foundation.messaging.queue
Subinterfaces of DurableQueueConsumerNotifications in dk.cloudcreate.essentials.components.foundation.messaging.queue Modifier and Type Interface Description interfaceQueuePollingOptimizerOptimizer designed to work together with theDefaultDurableQueueConsumer
The optimizer is responsible for optimizing the frequency by which theDefaultDurableQueueConsumeris polling the underlying database for new messages related to a givenQueueName.
If a given Queue doesn't experience a high influx of message, or a lot of message's have (QueuedMessage.getNextDeliveryTimestamp()) that is further into the future, then it doesn't make sense to poll the database too often.
TheQueuePollingOptimizer.SimpleQueuePollingOptimizersupports extending the polling sleep time (i.e.Classes in dk.cloudcreate.essentials.components.foundation.messaging.queue that implement DurableQueueConsumerNotifications Modifier and Type Class Description classDefaultDurableQueueConsumer<DURABLE_QUEUES extends DurableQueues,UOW extends UnitOfWork,UOW_FACTORY extends UnitOfWorkFactory<UOW>>The defaultDurableQueueConsumerwhich provides basic implementation (including retrying messages in case of failure, polling interval optimization, etc.)static classQueuePollingOptimizer.SimpleQueuePollingOptimizerTheQueuePollingOptimizer.SimpleQueuePollingOptimizersupports extending the polling sleep time (i.e.
-