Uses of Package
dk.cloudcreate.essentials.components.foundation.messaging.queue
-
Classes in dk.cloudcreate.essentials.components.foundation.messaging.queue used by dk.cloudcreate.essentials.components.foundation.messaging Class Description QueuedMessage Represents aMessagethat has been queued usingQueueMessage/QueueMessages/QueueMessageAsDeadLetterMessage -
Classes in dk.cloudcreate.essentials.components.foundation.messaging.queue used by dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward Class Description DurableQueues TheDurableQueuesconcept supports intra-service point-to-point messaging using durable Queues that guarantee At-Least-Once delivery of messages.
The only requirement is that message producers and message consumers can access the same underlying durable Queue storage.Message Encapsulates a Message, which is aPairof Payload and itsMessageMetaDataMessageMetaData Encapsulated Metadata (like headers, correlation id, tracing id's, etc.) associated with aMessageQueueName The name of a Durable Queue -
Classes in dk.cloudcreate.essentials.components.foundation.messaging.queue used by dk.cloudcreate.essentials.components.foundation.messaging.queue Class Description DurableQueueConsumer DurableQueuesconsumerDurableQueueConsumerNotifications Notification interface thatDurableQueueConsumercan implement if they want to be notified about messages being added to the queue they're consuming from
This is required forDurableQueueConsumer's that use aQueuePollingOptimizerDurableQueues TheDurableQueuesconcept supports intra-service point-to-point messaging using durable Queues that guarantee At-Least-Once delivery of messages.
The only requirement is that message producers and message consumers can access the same underlying durable Queue storage.DurableQueues.QueueingSortOrder The sorting order for theQueuedMessage.getId()DurableQueuesInterceptor Message Encapsulates a Message, which is aPairof Payload and itsMessageMetaDataMessageMetaData Encapsulated Metadata (like headers, correlation id, tracing id's, etc.) associated with aMessageNextQueuedMessage OrderedMessage Represents a message that will be delivered in order.
This of course requires that message are queued in order and that the consumer is single threaded.
All messages sharing the sameOrderedMessage.key, will be delivered according to theirOrderedMessage.order
An example of a message key is the id of the entity the message relates toQueuedMessage Represents aMessagethat has been queued usingQueueMessage/QueueMessages/QueueMessageAsDeadLetterMessageQueuedMessage.DeliveryMode QueuedMessageHandler QueueEntryId The unique entry for a message in a queue.QueueName The name of a Durable QueueQueuePollingOptimizer Optimizer designed to work together with theDefaultDurableQueueConsumer
The optimizer is responsible for optimizing the frequency by which theDefaultDurableQueueConsumeris polling the underlying database for new messages related to a givenQueueName.
If a given Queue doesn't experience a high influx of message, or a lot of message's have (QueuedMessage.getNextDeliveryTimestamp()) that is further into the future, then it doesn't make sense to poll the database too often.
TheQueuePollingOptimizer.SimpleQueuePollingOptimizersupports extending the polling sleep time (i.e.TransactionalMode The transactional behaviour mode of aDurableQueues -
Classes in dk.cloudcreate.essentials.components.foundation.messaging.queue used by dk.cloudcreate.essentials.components.foundation.messaging.queue.operations Class Description DurableQueueConsumer DurableQueuesconsumerDurableQueues.QueueingSortOrder The sorting order for theQueuedMessage.getId()Message Encapsulates a Message, which is aPairof Payload and itsMessageMetaDataMessageMetaData Encapsulated Metadata (like headers, correlation id, tracing id's, etc.) associated with aMessageQueuedMessageHandler QueueEntryId The unique entry for a message in a queue.QueueName The name of a Durable Queue -
Classes in dk.cloudcreate.essentials.components.foundation.messaging.queue used by dk.cloudcreate.essentials.components.foundation.reactive.command Class Description DurableQueues TheDurableQueuesconcept supports intra-service point-to-point messaging using durable Queues that guarantee At-Least-Once delivery of messages.
The only requirement is that message producers and message consumers can access the same underlying durable Queue storage.QueueName The name of a Durable Queue