Uses of Class
dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
-
-
Uses of RedeliveryPolicy in dk.cloudcreate.essentials.components.foundation.messaging
Methods in dk.cloudcreate.essentials.components.foundation.messaging that return RedeliveryPolicy Modifier and Type Method Description RedeliveryPolicyExponentialBackoffBuilder. build()RedeliveryPolicyFixedBackoffBuilder. build()RedeliveryPolicyLinearBackoffBuilder. build()RedeliveryPolicyRedeliveryPolicyBuilder. build()static RedeliveryPolicyRedeliveryPolicy. exponentialBackoff(Duration initialRedeliveryDelay, Duration followupRedeliveryDelay, double followupRedeliveryDelayMultiplier, Duration maximumFollowupRedeliveryDelayThreshold, int maximumNumberOfRedeliveries)static RedeliveryPolicyRedeliveryPolicy. fixedBackoff(Duration redeliveryDelay, int maximumNumberOfRedeliveries)static RedeliveryPolicyRedeliveryPolicy. linearBackoff(Duration redeliveryDelay, Duration maximumFollowupRedeliveryDelayThreshold, int maximumNumberOfRedeliveries) -
Uses of RedeliveryPolicy in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
Fields in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward declared as RedeliveryPolicy Modifier and Type Field Description RedeliveryPolicyInboxConfig. redeliveryPolicyThe message redelivery policyRedeliveryPolicyOutboxConfig. redeliveryPolicyThe message redelivery policyMethods in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward that return RedeliveryPolicy Modifier and Type Method Description RedeliveryPolicyInboxConfig. getRedeliveryPolicy()RedeliveryPolicyOutboxConfig. getRedeliveryPolicy()Methods in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward with parameters of type RedeliveryPolicy Modifier and Type Method Description InboxConfigBuilderInboxConfigBuilder. redeliveryPolicy(RedeliveryPolicy redeliveryPolicy)OutboxConfigBuilderOutboxConfigBuilder. setRedeliveryPolicy(RedeliveryPolicy redeliveryPolicy)Constructors in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward with parameters of type RedeliveryPolicy Constructor Description InboxConfig(InboxName inboxName, RedeliveryPolicy redeliveryPolicy, MessageConsumptionMode messageConsumptionMode, int numberOfParallelMessageConsumers)OutboxConfig(OutboxName outboxName, RedeliveryPolicy redeliveryPolicy, MessageConsumptionMode messageConsumptionMode, int numberOfParallelMessageConsumers) -
Uses of RedeliveryPolicy in dk.cloudcreate.essentials.components.foundation.messaging.queue
Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue with parameters of type RedeliveryPolicy Modifier and Type Method Description default 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 oneDurableQueueConsumerperQueueNameperDurableQueuesinstance -
Uses of RedeliveryPolicy in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations that return RedeliveryPolicy Modifier and Type Method Description RedeliveryPolicyConsumeFromQueue. getRedeliveryPolicy()Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations with parameters of type RedeliveryPolicy Modifier and Type Method Description voidConsumeFromQueue. setRedeliveryPolicy(RedeliveryPolicy redeliveryPolicy)ConsumeFromQueueBuilderConsumeFromQueueBuilder. setRedeliveryPolicy(RedeliveryPolicy redeliveryPolicy)Constructors in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations with parameters of type RedeliveryPolicy Constructor Description ConsumeFromQueue(String consumerName, QueueName queueName, RedeliveryPolicy redeliveryPolicy, int parallelConsumers, QueuedMessageHandler queueMessageHandler, Duration pollingInterval)Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstanceConsumeFromQueue(String consumerName, QueueName queueName, RedeliveryPolicy redeliveryPolicy, int parallelConsumers, ScheduledExecutorService consumerExecutorService, QueuedMessageHandler queueMessageHandler, Duration pollingInterval)Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstanceConsumeFromQueue(String consumerName, QueueName queueName, RedeliveryPolicy redeliveryPolicy, int parallelConsumers, Optional<ScheduledExecutorService> consumerExecutorService, QueuedMessageHandler queueMessageHandler, Duration pollingInterval)Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstance -
Uses of RedeliveryPolicy in dk.cloudcreate.essentials.components.foundation.reactive.command
Methods in dk.cloudcreate.essentials.components.foundation.reactive.command that return RedeliveryPolicy Modifier and Type Method Description RedeliveryPolicyCommandQueueRedeliveryPolicyResolver. resolveRedeliveryPolicyFor(QueueName queueName)Resolve theRedeliveryPolicyto use for the givenqueueNameMethods in dk.cloudcreate.essentials.components.foundation.reactive.command with parameters of type RedeliveryPolicy Modifier and Type Method Description static CommandQueueRedeliveryPolicyResolverCommandQueueRedeliveryPolicyResolver. sameReliveryPolicyForAllCommandQueues(RedeliveryPolicy redeliveryPolicy)Apply the sameRedeliveryPolicyindependent on theQueueName
-