Class PostgresqlDurableQueueConsumer
java.lang.Object
dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer<PostgresqlDurableQueues,dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork,dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory<dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork>>
dk.cloudcreate.essentials.components.queue.postgresql.PostgresqlDurableQueueConsumer
- All Implemented Interfaces:
dk.cloudcreate.essentials.components.foundation.Lifecycle,dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumer,dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumerNotifications,dk.cloudcreate.essentials.shared.Lifecycle
public final class PostgresqlDurableQueueConsumer
extends dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer<PostgresqlDurableQueues,dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork,dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory<dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork>>
-
Field Summary
Fields inherited from class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
LOG, MESSAGE_HANDLING_FAILURE_LOG, NO_POSTPROCESSING_AFTER_PROCESS_NEXT_MESSAGE, queueName -
Constructor Summary
ConstructorsConstructorDescriptionPostgresqlDurableQueueConsumer(dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue consumeFromQueue, dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWorkFactory unitOfWorkFactory, PostgresqlDurableQueues durableQueues, Consumer<dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumer> removeDurableQueueConsumer, long pollingIntervalMs, dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer queuePollingOptimizer) -
Method Summary
Methods inherited from class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
cancel, isPermanentError, isStarted, messageAdded, queueName, start, stop, toString
-
Constructor Details
-
PostgresqlDurableQueueConsumer
public PostgresqlDurableQueueConsumer(dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue consumeFromQueue, dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWorkFactory unitOfWorkFactory, PostgresqlDurableQueues durableQueues, Consumer<dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumer> removeDurableQueueConsumer, long pollingIntervalMs, dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer queuePollingOptimizer)
-