Uses of Package
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Classes in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations used by dk.cloudcreate.essentials.components.foundation.messaging.queue Class Description AcknowledgeMessageAsHandled Mark the message as acknowledged - this operation also deletes the messages from the Queue
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional
Operation also matchesDurableQueuesInterceptor.intercept(AcknowledgeMessageAsHandled, InterceptorChain)ConsumeFromQueue Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstance Operation also matchesDurableQueuesInterceptor.intercept(ConsumeFromQueue, InterceptorChain)DeleteMessage Delete a message (Queued or Dead Letter Message)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional
Operation also matchesDurableQueuesInterceptor.intercept(DeleteMessage, InterceptorChain)GetDeadLetterMessage Get a queued message that's marked as aQueuedMessage.isDeadLetterMessage()
Operation also matchesDurableQueuesInterceptor.intercept(GetDeadLetterMessage, InterceptorChain)GetDeadLetterMessages Query Dead Letter Messages (i.e.GetNextMessageReadyForDelivery Query the next Queued Message (i.e.GetQueuedMessage Get a queued message that is NOT marked as aQueuedMessage.isDeadLetterMessage()
Operation also matchesDurableQueuesInterceptor.intercept(GetQueuedMessage, InterceptorChain)GetQueuedMessages Query Queued Messages (i.e.GetTotalMessagesQueuedFor Get the total number of messages queued (i.e.MarkAsDeadLetterMessage 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.FullyTransactional
Operation also matchesDurableQueuesInterceptor.intercept(MarkAsDeadLetterMessage, InterceptorChain)PurgeQueue Delete all messages (Queued or Dead letter Messages) in the given queue
Operation also matchesDurableQueuesInterceptor.intercept(PurgeQueue, InterceptorChain)QueueMessage Queue a message for asynchronous delivery optional delay to aDurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional
Operation also matchesDurableQueuesInterceptor.intercept(QueueMessage, InterceptorChain)QueueMessageAsDeadLetterMessage Queue the message directly as a Dead Letter Message.QueueMessages Queue multiple messages to the same queue.ResurrectDeadLetterMessage Resurrect a Dead Letter Message for redelivery after the specifieddeliveryDelay
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional
Operation also matchesDurableQueuesInterceptor.intercept(ResurrectDeadLetterMessage, InterceptorChain)RetryMessage Schedule the message for redelivery after the specifieddeliveryDelay(called by theDurableQueueConsumer)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional
Operation also matchesDurableQueuesInterceptor.intercept(RetryMessage, InterceptorChain)StopConsumingFromQueue Stop an asynchronous message consumer.
Is initiated whenDurableQueueConsumer.cancel()is called Operation also matchesDurableQueuesInterceptor.intercept(StopConsumingFromQueue, InterceptorChain)