Uses of Class
dk.cloudcreate.essentials.components.foundation.messaging.queue.QueueEntryId
Packages that use QueueEntryId
Package
Description
-
Uses of QueueEntryId in dk.cloudcreate.essentials.components.foundation.messaging.queue
Fields in dk.cloudcreate.essentials.components.foundation.messaging.queue declared as QueueEntryIdModifier and TypeFieldDescriptionfinal QueueEntryIdDefaultQueuedMessage.idfinal QueueEntryIdNextQueuedMessage.idFields in dk.cloudcreate.essentials.components.foundation.messaging.queue with type parameters of type QueueEntryIdMethods in dk.cloudcreate.essentials.components.foundation.messaging.queue that return QueueEntryIdModifier and TypeMethodDescriptionDefaultQueuedMessage.getId()QueuedMessage.getId()The unique queue entry id for this messagedefault QueueEntryIdDurableQueuesInterceptor.intercept(QueueMessageAsDeadLetterMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessageAsDeadLetterMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) InterceptQueueMessageAsDeadLetterMessagecallsdefault QueueEntryIdDurableQueuesInterceptor.intercept(QueueMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) InterceptQueueMessagecallsstatic QueueEntryIdQueueEntryId.of(CharSequence value) DurableQueues.queueMessage(QueueMessage operation) Queue a message for asynchronous delivery without delay to aDurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionaldefault QueueEntryIdDurableQueues.queueMessage(QueueName queueName, Message message) Queue a message for asynchronous delivery without delay to aDurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionaldefault QueueEntryIdDurableQueues.queueMessage(QueueName queueName, Message message, Exception causeOfEnqueuing, Duration deliveryDelay) Queue a message for asynchronous delivery optional delay to aDurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionaldefault QueueEntryIdDurableQueues.queueMessage(QueueName queueName, Message message, Duration deliveryDelay) Queue a message for asynchronous delivery optional delay to aDurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionaldefault QueueEntryIdDurableQueues.queueMessage(QueueName queueName, Message message, Optional<Exception> causeOfEnqueuing, Optional<Duration> deliveryDelay) Queue a message for asynchronous delivery optional delay to aDurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionaldefault QueueEntryIdDurableQueues.queueMessage(QueueName queueName, Message message, Optional<Duration> deliveryDelay) Queue a message for asynchronous delivery optional delay to aDurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionalDurableQueues.queueMessageAsDeadLetterMessage(QueueMessageAsDeadLetterMessage operation) Queue the message directly as a Dead Letter Message.default QueueEntryIdDurableQueues.queueMessageAsDeadLetterMessage(QueueName queueName, Message message, Exception causeOfError) Queue the message directly as a Dead Letter Message.static QueueEntryIdQueueEntryId.random()Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue that return types with arguments of type QueueEntryIdModifier and TypeMethodDescriptiondefault List<QueueEntryId>DurableQueuesInterceptor.intercept(QueueMessages operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessages, List<QueueEntryId>, DurableQueuesInterceptor> interceptorChain) InterceptQueueMessagescallsDurableQueues.queueMessages(QueueMessages operation) Queue multiple messages to the same queue.default List<QueueEntryId>DurableQueues.queueMessages(QueueName queueName, List<? extends Message> messages) Queue multiple messages to the same queue.default List<QueueEntryId>DurableQueues.queueMessages(QueueName queueName, List<? extends Message> messages, Duration deliveryDelay) Queue multiple messages to the same queue.default List<QueueEntryId>DurableQueues.queueMessages(QueueName queueName, List<? extends Message> messages, Optional<Duration> deliveryDelay) Queue multiple messages to the same queue.Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue with parameters of type QueueEntryIdModifier and TypeMethodDescriptiondefault booleanDurableQueues.acknowledgeMessageAsHandled(QueueEntryId queueEntryId) Mark the message as acknowledged - this operation deletes the messages from the Queue
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionaldefault booleanDurableQueues.deleteMessage(QueueEntryId queueEntryId) Delete a message (Queued or Dead Letter Message)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionaldefault Optional<QueuedMessage>DurableQueues.getDeadLetterMessage(QueueEntryId queueEntryId) Get a queued message that's marked as aQueuedMessage.isDeadLetterMessage()default Optional<QueuedMessage>DurableQueues.getQueuedMessage(QueueEntryId queueEntryId) Get a queued message that is NOT marked as aQueuedMessage.isDeadLetterMessage()DurableQueues.getQueueNameFor(QueueEntryId queueEntryId) Get the name of the Queue where the message withqueueEntryIdis queued (either as a normal queued messages or a dead-letter/poison-message)default Optional<QueuedMessage>DurableQueues.markAsDeadLetterMessage(QueueEntryId queueEntryId, Exception causeForBeingMarkedAsDeadLetter) Mark an already Queued Message as a Dead Letter Message (or Poison Message).
Dead Letter Messages won't be delivered to anyDurableQueueConsumer(called by theDurableQueueConsumer)
To deliver a Dead Letter Message you must first resurrect the message usingDurableQueues.resurrectDeadLetterMessage(QueueEntryId, Duration)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionaldefault Optional<QueuedMessage>DurableQueues.resurrectDeadLetterMessage(QueueEntryId queueEntryId, Duration deliveryDelay) Resurrect a Dead Letter Message for redelivery after the specifieddeliveryDelay
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionaldefault Optional<QueuedMessage>DurableQueues.retryMessage(QueueEntryId queueEntryId, Exception causeForRetry, Duration deliveryDelay) Schedule the message for redelivery after the specifieddeliveryDelay(called by theDurableQueueConsumer)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionalMethod parameters in dk.cloudcreate.essentials.components.foundation.messaging.queue with type arguments of type QueueEntryIdModifier and TypeMethodDescriptiondefault QueueEntryIdDurableQueuesInterceptor.intercept(QueueMessageAsDeadLetterMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessageAsDeadLetterMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) InterceptQueueMessageAsDeadLetterMessagecallsdefault QueueEntryIdDurableQueuesInterceptor.intercept(QueueMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) InterceptQueueMessagecallsdefault List<QueueEntryId>DurableQueuesInterceptor.intercept(QueueMessages operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessages, List<QueueEntryId>, DurableQueuesInterceptor> interceptorChain) InterceptQueueMessagescallsConstructors in dk.cloudcreate.essentials.components.foundation.messaging.queue with parameters of type QueueEntryIdModifierConstructorDescriptionDefaultQueuedMessage(QueueEntryId id, QueueName queueName, Message message, OffsetDateTime addedTimestamp, OffsetDateTime nextDeliveryTimestamp, OffsetDateTime deliveryTimestamp, String lastDeliveryError, int totalDeliveryAttempts, int redeliveryAttempts, boolean isDeadLetterMessage, boolean isBeingDelivered) DurableQueueException(String message, QueueName queueName, QueueEntryId queueEntryId) DurableQueueException(String message, Throwable cause, QueueName queueName, QueueEntryId queueEntryId) DurableQueueException(Throwable cause, QueueName queueName, QueueEntryId queueEntryId) NextQueuedMessage(QueueEntryId id, QueueName queueName, Instant addedTimestamp, Instant nextDeliveryTimestamp) -
Uses of QueueEntryId in dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer
Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer that return QueueEntryIdModifier and TypeMethodDescriptionDurableQueuesMicrometerInterceptor.intercept(QueueMessageAsDeadLetterMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessageAsDeadLetterMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) DurableQueuesMicrometerInterceptor.intercept(QueueMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) DurableQueuesMicrometerTracingInterceptor.intercept(QueueMessageAsDeadLetterMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessageAsDeadLetterMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) DurableQueuesMicrometerTracingInterceptor.intercept(QueueMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer that return types with arguments of type QueueEntryIdModifier and TypeMethodDescriptionDurableQueuesMicrometerInterceptor.intercept(QueueMessages operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessages, List<QueueEntryId>, DurableQueuesInterceptor> interceptorChain) DurableQueuesMicrometerTracingInterceptor.intercept(QueueMessages operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessages, List<QueueEntryId>, DurableQueuesInterceptor> interceptorChain) Method parameters in dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer with type arguments of type QueueEntryIdModifier and TypeMethodDescriptionDurableQueuesMicrometerInterceptor.intercept(QueueMessageAsDeadLetterMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessageAsDeadLetterMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) DurableQueuesMicrometerInterceptor.intercept(QueueMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) DurableQueuesMicrometerInterceptor.intercept(QueueMessages operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessages, List<QueueEntryId>, DurableQueuesInterceptor> interceptorChain) DurableQueuesMicrometerTracingInterceptor.intercept(QueueMessageAsDeadLetterMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessageAsDeadLetterMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) DurableQueuesMicrometerTracingInterceptor.intercept(QueueMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessage, QueueEntryId, DurableQueuesInterceptor> interceptorChain) DurableQueuesMicrometerTracingInterceptor.intercept(QueueMessages operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessages, List<QueueEntryId>, DurableQueuesInterceptor> interceptorChain) -
Uses of QueueEntryId in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
Fields in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations declared as QueueEntryIdModifier and TypeFieldDescriptionfinal QueueEntryIdAcknowledgeMessageAsHandled.queueEntryIdfinal QueueEntryIdDeleteMessage.queueEntryIdfinal QueueEntryIdGetDeadLetterMessage.queueEntryIdThe messages unique queue entry idfinal QueueEntryIdGetQueuedMessage.queueEntryIdthe messages unique queue entry idfinal QueueEntryIdMarkAsDeadLetterMessage.queueEntryIdfinal QueueEntryIdResurrectDeadLetterMessage.queueEntryIdfinal QueueEntryIdRetryMessage.queueEntryIdMethods in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations that return QueueEntryIdModifier and TypeMethodDescriptionAcknowledgeMessageAsHandled.getQueueEntryId()DeleteMessage.getQueueEntryId()GetDeadLetterMessage.getQueueEntryId()GetQueuedMessage.getQueueEntryId()MarkAsDeadLetterMessage.getQueueEntryId()ResurrectDeadLetterMessage.getQueueEntryId()RetryMessage.getQueueEntryId()Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations with parameters of type QueueEntryIdModifier and TypeMethodDescriptionAcknowledgeMessageAsHandledBuilder.setQueueEntryId(QueueEntryId queueEntryId) DeleteMessageBuilder.setQueueEntryId(QueueEntryId queueEntryId) GetDeadLetterMessageBuilder.setQueueEntryId(QueueEntryId queueEntryId) GetQueuedMessageBuilder.setQueueEntryId(QueueEntryId queueEntryId) MarkAsDeadLetterMessageBuilder.setQueueEntryId(QueueEntryId queueEntryId) ResurrectDeadLetterMessageBuilder.setQueueEntryId(QueueEntryId queueEntryId) RetryMessageBuilder.setQueueEntryId(QueueEntryId queueEntryId) Constructors in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations with parameters of type QueueEntryIdModifierConstructorDescriptionAcknowledgeMessageAsHandled(QueueEntryId queueEntryId) Mark the message as acknowledged - this operation deleted the messages from the Queue
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionalDeleteMessage(QueueEntryId queueEntryId) Delete a message (Queued or Dead Letter Message)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionalGetDeadLetterMessage(QueueEntryId queueEntryId) Get a queued message that's marked as aQueuedMessage.isDeadLetterMessage()GetQueuedMessage(QueueEntryId queueEntryId) Get a queued message that is NOT marked as aQueuedMessage.isDeadLetterMessage()MarkAsDeadLetterMessage(QueueEntryId queueEntryId, Exception causeForBeingMarkedAsDeadLetter) Mark a Message as a Dead Letter Message (or Poison Message).ResurrectDeadLetterMessage(QueueEntryId queueEntryId, Duration deliveryDelay) Resurrect a Dead Letter Message for redelivery after the specifieddeliveryDelay
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionalRetryMessage(QueueEntryId queueEntryId, Exception causeForRetry, Duration deliveryDelay) Schedule the message for redelivery after the specifieddeliveryDelay(called by theDurableQueueConsumer)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional