Uses of Interface
dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumer
-
Packages that use DurableQueueConsumer Package Description dk.cloudcreate.essentials.components.foundation.messaging.queue dk.cloudcreate.essentials.components.foundation.messaging.queue.operations -
-
Uses of DurableQueueConsumer in dk.cloudcreate.essentials.components.foundation.messaging.queue
Classes in dk.cloudcreate.essentials.components.foundation.messaging.queue that implement DurableQueueConsumer 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.)Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue that return DurableQueueConsumer Modifier and Type Method Description DurableQueueConsumerDurableQueues. consumeFromQueue(ConsumeFromQueue operation)Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstancedefault DurableQueueConsumerDurableQueues. consumeFromQueue(QueueName queueName, RedeliveryPolicy redeliveryPolicy, int parallelConsumers, QueuedMessageHandler queueMessageHandler)Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstancedefault DurableQueueConsumerDurableQueues. consumeFromQueue(String consumerName, QueueName queueName, RedeliveryPolicy redeliveryPolicy, int parallelConsumers, QueuedMessageHandler queueMessageHandler)Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstancedefault DurableQueueConsumerDurableQueuesInterceptor. intercept(ConsumeFromQueue operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<ConsumeFromQueue,DurableQueueConsumer,DurableQueuesInterceptor> interceptorChain)InterceptConsumeFromQueuecallsdefault DurableQueueConsumerDurableQueuesInterceptor. intercept(StopConsumingFromQueue operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<StopConsumingFromQueue,DurableQueueConsumer,DurableQueuesInterceptor> interceptorChain)InterceptStopConsumingFromQueuecalls - is initiated whencancel()is calledMethod parameters in dk.cloudcreate.essentials.components.foundation.messaging.queue with type arguments of type DurableQueueConsumer Modifier and Type Method Description default DurableQueueConsumerDurableQueuesInterceptor. intercept(ConsumeFromQueue operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<ConsumeFromQueue,DurableQueueConsumer,DurableQueuesInterceptor> interceptorChain)InterceptConsumeFromQueuecallsdefault DurableQueueConsumerDurableQueuesInterceptor. intercept(StopConsumingFromQueue operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<StopConsumingFromQueue,DurableQueueConsumer,DurableQueuesInterceptor> interceptorChain)InterceptStopConsumingFromQueuecalls - is initiated whencancel()is calledConstructor parameters in dk.cloudcreate.essentials.components.foundation.messaging.queue with type arguments of type DurableQueueConsumer Constructor Description DefaultDurableQueueConsumer(ConsumeFromQueue consumeFromQueue, UOW_FACTORY unitOfWorkFactory, DURABLE_QUEUES durableQueues, Consumer<DurableQueueConsumer> removeDurableQueueConsumer, long pollingIntervalMs, QueuePollingOptimizer queuePollingOptimizer) -
Uses of DurableQueueConsumer in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
Fields in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations declared as DurableQueueConsumer Modifier and Type Field Description DurableQueueConsumerStopConsumingFromQueue. durableQueueConsumerThe durable queue consumer being stoppedMethods in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations that return DurableQueueConsumer Modifier and Type Method Description DurableQueueConsumerStopConsumingFromQueue. getDurableQueueConsumer()Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations with parameters of type DurableQueueConsumer Modifier and Type Method Description StopConsumingFromQueueBuilderStopConsumingFromQueueBuilder. setDurableQueueConsumer(DurableQueueConsumer durableQueueConsumer)Constructors in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations with parameters of type DurableQueueConsumer Constructor Description StopConsumingFromQueue(DurableQueueConsumer durableQueueConsumer)Stop an asynchronous message consumer.
-