Uses of Class
dk.cloudcreate.essentials.components.foundation.messaging.queue.QueueEntryId
-
Packages that use QueueEntryId Package Description dk.cloudcreate.essentials.components.foundation.messaging.queue dk.cloudcreate.essentials.components.foundation.messaging.queue.operations -
-
Uses of QueueEntryId in dk.cloudcreate.essentials.components.foundation.messaging.queue
Fields in dk.cloudcreate.essentials.components.foundation.messaging.queue declared as QueueEntryId Modifier and Type Field Description QueueEntryIdDefaultQueuedMessage. idQueueEntryIdNextQueuedMessage. idFields in dk.cloudcreate.essentials.components.foundation.messaging.queue with type parameters of type QueueEntryId Modifier and Type Field Description Optional<QueueEntryId>DurableQueueException. queueEntryIdMethods in dk.cloudcreate.essentials.components.foundation.messaging.queue that return QueueEntryId Modifier and Type Method Description QueueEntryIdDefaultQueuedMessage. getId()QueueEntryIdQueuedMessage. 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)QueueEntryIdDurableQueues. 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.FullyTransactionalQueueEntryIdDurableQueues. 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 QueueEntryId Modifier and Type Method Description default List<QueueEntryId>DurableQueuesInterceptor. intercept(QueueMessages operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<QueueMessages,List<QueueEntryId>,DurableQueuesInterceptor> interceptorChain)InterceptQueueMessagescallsList<QueueEntryId>DurableQueues. 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 QueueEntryId Modifier and Type Method Description default 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()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 QueueEntryId Modifier and Type Method Description default 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 QueueEntryId Constructor Description DefaultQueuedMessage(QueueEntryId id, QueueName queueName, Message message, OffsetDateTime addedTimestamp, OffsetDateTime nextDeliveryTimestamp, String lastDeliveryError, int totalDeliveryAttempts, int redeliveryAttempts, boolean isDeadLetterMessage)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.operations
Fields in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations declared as QueueEntryId Modifier and Type Field Description QueueEntryIdAcknowledgeMessageAsHandled. queueEntryIdQueueEntryIdDeleteMessage. queueEntryIdQueueEntryIdGetDeadLetterMessage. queueEntryIdThe messages unique queue entry idQueueEntryIdGetQueuedMessage. queueEntryIdthe messages unique queue entry idQueueEntryIdMarkAsDeadLetterMessage. queueEntryIdQueueEntryIdResurrectDeadLetterMessage. queueEntryIdQueueEntryIdRetryMessage. queueEntryIdMethods in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations that return QueueEntryId Modifier and Type Method Description QueueEntryIdAcknowledgeMessageAsHandled. getQueueEntryId()QueueEntryIdDeleteMessage. getQueueEntryId()QueueEntryIdGetDeadLetterMessage. getQueueEntryId()QueueEntryIdGetQueuedMessage. getQueueEntryId()QueueEntryIdMarkAsDeadLetterMessage. getQueueEntryId()QueueEntryIdResurrectDeadLetterMessage. getQueueEntryId()QueueEntryIdRetryMessage. getQueueEntryId()Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations with parameters of type QueueEntryId Modifier and Type Method Description AcknowledgeMessageAsHandledBuilderAcknowledgeMessageAsHandledBuilder. setQueueEntryId(QueueEntryId queueEntryId)DeleteMessageBuilderDeleteMessageBuilder. setQueueEntryId(QueueEntryId queueEntryId)GetDeadLetterMessageBuilderGetDeadLetterMessageBuilder. setQueueEntryId(QueueEntryId queueEntryId)GetQueuedMessageBuilderGetQueuedMessageBuilder. setQueueEntryId(QueueEntryId queueEntryId)MarkAsDeadLetterMessageBuilderMarkAsDeadLetterMessageBuilder. setQueueEntryId(QueueEntryId queueEntryId)ResurrectDeadLetterMessageBuilderResurrectDeadLetterMessageBuilder. setQueueEntryId(QueueEntryId queueEntryId)RetryMessageBuilderRetryMessageBuilder. setQueueEntryId(QueueEntryId queueEntryId)Constructors in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations with parameters of type QueueEntryId Constructor Description AcknowledgeMessageAsHandled(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
-