Uses of Interface
dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumerNotifications
Packages that use DurableQueueConsumerNotifications
-
Uses of DurableQueueConsumerNotifications in dk.cloudcreate.essentials.components.foundation.messaging.queue
Subinterfaces of DurableQueueConsumerNotifications in dk.cloudcreate.essentials.components.foundation.messaging.queueModifier and TypeInterfaceDescriptioninterfaceOptimizer 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 DurableQueueConsumerNotificationsModifier and TypeClassDescriptionclassDefaultDurableQueueConsumer<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.)
Log levels of interest:static classTheQueuePollingOptimizer.SimpleQueuePollingOptimizersupports extending the polling sleep time (i.e.