Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(Message) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
- acknowledgeMessageAsHandled(AcknowledgeMessageAsHandled) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
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 - acknowledgeMessageAsHandled(QueueEntryId) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Mark the message as acknowledged - this operation deletes the messages from the Queue
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - AcknowledgeMessageAsHandled - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
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) - AcknowledgeMessageAsHandled(QueueEntryId) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.AcknowledgeMessageAsHandled
-
Mark the message as acknowledged - this operation deleted the messages from the Queue
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - AcknowledgeMessageAsHandledBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
AcknowledgeMessageAsHandled - AcknowledgeMessageAsHandledBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.AcknowledgeMessageAsHandledBuilder
- acquireLock(LockName) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- acquireLock(LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Acquire the lock on this JVM Node.
- acquireLockAsync(LockName, LockCallback) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- acquireLockAsync(LockName, LockCallback) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Asynchronously try to acquire a lock by the given name and call the
LockCallback.lockAcquired(FencedLock)when the lock is acquired
To stop the background acquiring process, you need to callFencedLockManager.cancelAsyncLockAcquiring(LockName)with the same lockName - addChangeNotificationTriggerToTable(Handle, String, List<ListenNotify.SqlOperation>, String...) - Static method in class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify
-
Create (or replace an existing) Table change notification
FUNCTIONand an AFTERTRIGGERto the given Table in order to support the classical Postgresql LISTEN/NOTIFY concept.
The NOTIFY/LISTEN channel is defined by theListenNotify.resolveTableChangeChannelName(String)and the payload is a JSON formatted string containing a "table_name" property as well as any additional columns provided in theincludeAdditionalTableColumnsInNotificationPayloadparameter. - addedTimestamp - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- addedTimestamp - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- addInterceptor(MessageHandlerInterceptor) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
- addInterceptor(DurableQueuesInterceptor) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Add a
DurableQueuesInterceptorto thisDurableQueuesinstance
TheDurableQueuesInterceptorallows you to intercept all high level operations - addInterceptors(CommandBusInterceptor...) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
-
Add additional
CommandBusInterceptor's to use - addInterceptors(List<DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Add
DurableQueuesInterceptor's to thisDurableQueuesinstance
TheDurableQueuesInterceptorallows you to intercept all high level operations - addInterceptors(List<CommandBusInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
-
Add additional
CommandBusInterceptor's to use - addMessageReceived(Message) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Register or add a message that has been received
This message will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case no there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumer - addMessageReceived(Message) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- addMessageReceived(Object) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Register or add a message (without meta-data) that has been received
This message will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case no there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumer - addMessageReceived(Object, MessageMetaData) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Register or add a message (with meta-data) that has been received
This message will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case no there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumer - afterClosingHandle() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
-
Called right after the
Handleis closed. - afterCommit(UnitOfWork, List<RESOURCE_TYPE>) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkLifecycleCallback
- afterCommitAfterCallingLifecycleCallbackResources(UOW) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
Called during
TransactionSynchronization.afterCommit()AFTER all registeredSpringTransactionAwareUnitOfWork.unitOfWorkLifecycleCallbackResourceshave had theirUnitOfWorkLifecycleCallback.afterCommit(UnitOfWork, List)method called - afterCommitBeforeCallingLifecycleCallbackResources(UOW) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
Called during
TransactionSynchronization.afterCommit()BEFORE any registeredSpringTransactionAwareUnitOfWork.unitOfWorkLifecycleCallbackResourceshave had theirUnitOfWorkLifecycleCallback.afterCommit(UnitOfWork, List)method called - afterCommitting() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
-
Called right after
Handle.commit()has been called. - afterRollback(UnitOfWork, List<RESOURCE_TYPE>, Exception) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkLifecycleCallback
- afterRollback(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
-
Called right after
Handle.rollback()has been called. - afterRollbackAfterCallingLifecycleCallbackResources(UOW) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
Called during
TransactionSynchronization.afterCompletion(int)AFTER all registeredSpringTransactionAwareUnitOfWork.unitOfWorkLifecycleCallbackResourceshave had theirUnitOfWorkLifecycleCallback.afterRollback(UnitOfWork, List, Exception)method called - afterRollbackBeforeCallingLifecycleCallbackResources(UOW) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
Called during
TransactionSynchronization.afterCompletion(int)BEFORE any registeredSpringTransactionAwareUnitOfWork.unitOfWorkLifecycleCallbackResourceshave had theirUnitOfWorkLifecycleCallback.afterRollback(UnitOfWork, List, Exception)method called - allowUnmatchedMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
-
Should the event handler allow unmatched
Message.getPayload()? If true then an unmatchedMessage.getPayload()is ignored, if false (the default value) then an unmatched event will causePatternMatchingMessageHandler.handleUnmatchedMessage(Message)will throw anIllegalArgumentException - allowUnmatchedMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.PatternMatchingQueuedMessageHandler
-
Should the event handler allow unmatched
Message.getPayload()? If true then an unmatchedMessage.getPayload()is ignored, if false (the default value) then an unmatched event will causePatternMatchingQueuedMessageHandler.handleUnmatchedMessage(QueuedMessage)will throw anIllegalArgumentException - alwaysRetry() - Static method in interface dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler
-
Create a
MessageDeliveryErrorHandlerthat always retries no matter which exception occurs - AlwaysRetry() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler.AlwaysRetry
- alwaysRetryOn(Class<? extends Exception>...) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandlerBuilder
-
The resulting
MessageDeliveryErrorHandlerwill keep retrying message redelivery no matter how many times message handling experiences an exception for in the list ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e. - alwaysRetryOn(List<Class<? extends Exception>>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandlerBuilder
-
The resulting
MessageDeliveryErrorHandlerwill keep retrying message redelivery no matter how many times message handling experiences an exception for in the list ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e. - ASC - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues.QueueingSortOrder
-
Ascending order
- asLockName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxName
- asLockName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxName
- asQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxName
- asQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxName
B
- beforeCommit(UnitOfWork, List<RESOURCE_TYPE>) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkLifecycleCallback
- beforeCommitAfterCallingLifecycleCallbackResources(UOW) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
Called during
TransactionSynchronization.beforeCommit(boolean)AFTER all registeredSpringTransactionAwareUnitOfWork.unitOfWorkLifecycleCallbackResourceshave had theirUnitOfWorkLifecycleCallback.beforeCommit(UnitOfWork, List)method called - beforeCommitBeforeCallingLifecycleCallbackResources(UOW) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
Called during
TransactionSynchronization.beforeCommit(boolean)BEFORE any registeredSpringTransactionAwareUnitOfWork.unitOfWorkLifecycleCallbackResourceshave had theirUnitOfWorkLifecycleCallback.beforeCommit(UnitOfWork, List)method called - beforeCommitting() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
-
Called right before
Handle.commit()is called. - beforeRollback(UnitOfWork, List<RESOURCE_TYPE>, Exception) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkLifecycleCallback
- beforeRollback(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
-
Called right before
Handle.rollback()is called. - build() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.LockCallbackBuilder
- build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfigBuilder
- build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfigBuilder
- build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.ExponentialBackoffBuilder
- build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.FixedBackoffBuilder
- build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.LinearBackoffBuilder
- build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandlerBuilder
- build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.AcknowledgeMessageAsHandledBuilder
-
Builder an
AcknowledgeMessageAsHandledinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueueBuilder
-
Builder an
ConsumeFromQueueinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.DeleteMessageBuilder
-
Builder an
DeleteMessageinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessageBuilder
-
Builder an
GetDeadLetterMessageinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessagesBuilder
-
Builder an
GetDeadLetterMessagesinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDeliveryBuilder
-
Builder an
GetNextMessageReadyForDeliveryinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessageBuilder
-
Builder an
GetQueuedMessageinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessagesBuilder
-
Builder an
GetQueuedMessagesinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalDeadLetterMessagesQueuedForBuilder
-
Builder an
GetTotalDeadLetterMessagesQueuedForinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalMessagesQueuedForBuilder
-
Builder an
GetTotalMessagesQueuedForinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessageBuilder
-
Builder an
MarkAsDeadLetterMessageinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueueBuilder
-
Builder an
PurgeQueueinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessageBuilder
-
Builder an
QueueMessageAsDeadLetterMessageinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
-
Builder an
QueueMessageinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessagesBuilder
-
Builder an
QueueMessagesinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessageBuilder
-
Builder an
ResurrectDeadLetterMessageinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessageBuilder
-
Builder an
RetryMessageinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.StopConsumingFromQueueBuilder
-
Builder an
StopConsumingFromQueueinstance from the builder properties - build() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicyBuilder
- build() - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
- builder() - Static method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.LockCallback
- builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
- builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
- builder() - Static method in interface dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler
-
Create a new builder for a flexible
MessageDeliveryErrorHandlerwhich supports both alwaysRetryOnExceptions and stopRedeliveryOnExceptions - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.AcknowledgeMessageAsHandled
-
Create a new builder that produces a new
AcknowledgeMessageAsHandledinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
-
Create a new builder that produces a new
ConsumeFromQueueinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.DeleteMessage
-
Create a new builder that produces a new
DeleteMessageinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessage
-
Create a new builder that produces a new
GetDeadLetterMessageinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
-
Create a new builder that produces a new
GetDeadLetterMessagesinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDelivery
-
Create a new builder that produces a new
GetNextMessageReadyForDeliveryinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessage
-
Create a new builder that produces a new
GetQueuedMessageinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
-
Create a new builder that produces a new
GetQueuedMessagesinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalDeadLetterMessagesQueuedFor
-
Create a new builder that produces a new
GetTotalDeadLetterMessagesQueuedForinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalMessagesQueuedFor
-
Create a new builder that produces a new
GetTotalMessagesQueuedForinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessage
-
Create a new builder that produces a new
MarkAsDeadLetterMessageinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueue
-
Create a new builder that produces a new
PurgeQueueinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
-
Create a new builder that produces a new
QueueMessageinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
-
Create a new builder that produces a new
QueueMessageAsDeadLetterMessageinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
-
Create a new builder that produces a new
QueueMessagesinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessage
-
Create a new builder that produces a new
ResurrectDeadLetterMessageinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
-
Create a new builder that produces a new
RetryMessageinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.StopConsumingFromQueue
-
Create a new builder that produces a new
ConsumeFromQueueinstance - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
-
Create a generic builder for defining a
RedeliveryPolicy - builder() - Static method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Builder for a
DurableLocalCommandBusBuilder
C
- calculateNextRedeliveryDelay(int) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- cancel() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- cancel() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumer
- cancelAsyncLockAcquiring(LockName) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- cancelAsyncLockAcquiring(LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Cancel a previously started asynchronous lock acquiring background process
IF this JVM node had acquired aFencedLockthen this lock will be released AND theLockCallback.lockReleased(FencedLock)will be called on theLockCallbackinstance that was supplied to theFencedLockManager.acquireLockAsync(LockName, LockCallback)
Otherwise only the background lock acquiring process will be stopped. - clear() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- ClientSessionAwareUnitOfWork - Interface in dk.cloudcreate.essentials.components.foundation.transaction.mongo
-
Version of UnitOfWork that's aware of the
ClientSessionassociated with the currentUnitOfWork
Will likely be removed in the future as having access to the ClientSession doesn't seem to be needed - close() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
-
Closing a
FencedLockwill automatically callFencedLock.release() - close() - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.MultiTableChangeListener
- commit() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
- commit() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- commit() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
-
Commit the
UnitOfWorkand any underlying transaction - seeUnitOfWorkStatus.Committed - Committed - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkStatus
-
The
UnitOfWorkhas been committed - compareTo(NextQueuedMessage) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- compute(String, BiFunction<? super String, ? super String, ? extends String>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- computeIfAbsent(String, Function<? super String, ? extends String>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- computeIfPresent(String, BiFunction<? super String, ? super String, ? extends String>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- config - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- config - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- confirmLockInDB(DBFencedLockManager<UOW, LOCK>, UOW, LOCK, OffsetDateTime) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Update the database status for the lock as being confirmed by this lock manager instance
- consume(Consumer<Message>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Start consuming messages from the Inbox using the provided message consumer.
This is the same as callingInbox.setMessageConsumer(Consumer)followed byInbox.startConsuming()
Only needs to be called if the instance was created without a message consumer such as viaInboxes.getOrCreateInbox(InboxConfig) - consume(Consumer<Message>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- consume(Consumer<Message>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Start consuming messages from the Outbox using the provided message consumer.
This is the same as callingOutbox.setMessageConsumer(Consumer)followed byOutbox.startConsuming()
Only needs to be called if the instance was created without a message consumer such as viaOutboxes.getOrCreateOutbox(OutboxConfig) - consume(Consumer<Message>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- consumeFromQueue(ConsumeFromQueue) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstance
Log levels of interest: - consumeFromQueue(QueueName, RedeliveryPolicy, int, QueuedMessageHandler) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstance
Log levels of interest: - consumeFromQueue(String, QueueName, RedeliveryPolicy, int, QueuedMessageHandler) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstance
Log levels of interest: - ConsumeFromQueue - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstance Operation also matchesDurableQueuesInterceptor.intercept(ConsumeFromQueue, InterceptorChain) - ConsumeFromQueue(String, QueueName, RedeliveryPolicy, int, QueuedMessageHandler, Duration) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
-
Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstance - ConsumeFromQueue(String, QueueName, RedeliveryPolicy, int, ScheduledExecutorService, QueuedMessageHandler, Duration) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
-
Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstance - ConsumeFromQueue(String, QueueName, RedeliveryPolicy, int, Optional<ScheduledExecutorService>, QueuedMessageHandler, Duration) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
-
Start an asynchronous message consumer.
Note: There can only be oneDurableQueueConsumerperQueueNameperDurableQueuesinstance - ConsumeFromQueueBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
ConsumeFromQueue - ConsumeFromQueueBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueueBuilder
- consumerName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
-
The name of the consumer (for logging purposes)
- containsKey(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- containsValue(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- copyOf(MessageMetaData) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- CorrelationId - Class in dk.cloudcreate.essentials.components.foundation.types
-
A correlation id is used to link multiple Messages or Events together in a distributed system
- CorrelationId(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.types.CorrelationId
- createDefaultTransactionDefinition() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
Override to create a custom
DefaultTransactionDefinition. - createInitializedLock(DBFencedLockManager<UOW, LOCK>, LockName, long, String, OffsetDateTime, OffsetDateTime) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Create an initialized lock
- createNewUnitOfWorkInstance(GenericHandleAwareUnitOfWorkFactory<GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork>) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.JdbiUnitOfWorkFactory
- createNewUnitOfWorkInstance(GenericHandleAwareUnitOfWorkFactory<UOW>) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory
- createUninitializedLock(DBFencedLockManager<UOW, LOCK>, LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Create an un-initialized lock (with a default DB specific un-initialized value for the
DBFencedLock.getCurrentToken()) - createUnitOfWorkForFactoryManagedTransaction(TransactionStatus) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi.SpringTransactionAwareJdbiUnitOfWorkFactory
- createUnitOfWorkForFactoryManagedTransaction(TransactionStatus) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo.SpringMongoTransactionAwareUnitOfWorkFactory
- createUnitOfWorkForFactoryManagedTransaction(TransactionStatus) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
Create a
UnitOfWorkwrapping a Spring Transaction managed by thisUnitOfWorkFactory - createUnitOfWorkForSpringManagedTransaction() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi.SpringTransactionAwareJdbiUnitOfWorkFactory
- createUnitOfWorkForSpringManagedTransaction() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo.SpringMongoTransactionAwareUnitOfWorkFactory
- createUnitOfWorkForSpringManagedTransaction() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
Create a
UnitOfWorkparticipating in an existing Spring Managed Transaction that isn't managed by thisUnitOfWorkFactory
D
- DBFencedLock - Class in dk.cloudcreate.essentials.components.foundation.fencedlock
- DBFencedLock(DBFencedLockManager<? extends UnitOfWork, DBFencedLock>, LockName, Long, String, OffsetDateTime, OffsetDateTime) - Constructor for class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- DBFencedLockManager<UOW extends UnitOfWork,
LOCK extends DBFencedLock> - Class in dk.cloudcreate.essentials.components.foundation.fencedlock - DBFencedLockManager(FencedLockStorage<UOW, LOCK>, UnitOfWorkFactory<? extends UOW>, Optional<String>, Duration, Duration, Optional<EventBus>) - Constructor for class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- DEFAULT_COMMAND_QUEUE_NAME - Static variable in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- DEFAULT_REDELIVERY_POLICY - Static variable in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- DefaultDurableQueueConsumer<DURABLE_QUEUES extends DurableQueues,
UOW extends UnitOfWork, UOW_FACTORY extends UnitOfWorkFactory<UOW>> - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue -
The default
DurableQueueConsumerwhich provides basic implementation (including retrying messages in case of failure, polling interval optimization, etc.)
Log levels of interest: - DefaultDurableQueueConsumer(ConsumeFromQueue, UOW_FACTORY, DURABLE_QUEUES, Consumer<DurableQueueConsumer>, long, QueuePollingOptimizer) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- DefaultQueuedMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
Represents a message queued onto a Durable Queue
- DefaultQueuedMessage(QueueEntryId, QueueName, Message, OffsetDateTime, OffsetDateTime, OffsetDateTime, String, int, int, boolean, boolean) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- defaultTransactionDefinition - Variable in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
- DELETE - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify.SqlOperation
- deleteAllLocksInDB() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- deleteAllLocksInDB(DBFencedLockManager<UOW, LOCK>, UOW) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Delete all locks in the DB.
- deleteLockInDB(DBFencedLockManager<UOW, LOCK>, UOW, LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Delete a lock in the DB.
- deleteMessage(DeleteMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Delete a message (Queued or Dead Letter Message)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - deleteMessage(QueueEntryId) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Delete a message (Queued or Dead Letter Message)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - DeleteMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
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) - DeleteMessage(QueueEntryId) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.DeleteMessage
-
Delete a message (Queued or Dead Letter Message)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - DeleteMessageBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
DeleteMessage - DeleteMessageBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.DeleteMessageBuilder
- deliveryErrorHandler - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- deliveryTimestamp - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- DESC - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues.QueueingSortOrder
-
Descending order
- deserialize(byte[], Class<T>) - Method in class dk.cloudcreate.essentials.components.foundation.json.JacksonJSONSerializer
- deserialize(byte[], Class<T>) - Method in interface dk.cloudcreate.essentials.components.foundation.json.JSONSerializer
-
Deserialize the payload in the
jsonparameter into the Java type specified by thejavaTypeparameter - deserialize(byte[], String) - Method in class dk.cloudcreate.essentials.components.foundation.json.JacksonJSONSerializer
- deserialize(byte[], String) - Method in interface dk.cloudcreate.essentials.components.foundation.json.JSONSerializer
-
Deserialize the payload in the
jsonparameter into the Java type specified by the Fully Qualified Class Name contained in thejavaTypeparameter - deserialize(String, Class<T>) - Method in class dk.cloudcreate.essentials.components.foundation.json.JacksonJSONSerializer
- deserialize(String, Class<T>) - Method in interface dk.cloudcreate.essentials.components.foundation.json.JSONSerializer
-
Deserialize the payload in the
jsonparameter into the Java type specified by thejavaTypeparameter - deserialize(String, String) - Method in class dk.cloudcreate.essentials.components.foundation.json.JacksonJSONSerializer
- deserialize(String, String) - Method in interface dk.cloudcreate.essentials.components.foundation.json.JSONSerializer
-
Deserialize the payload in the
jsonparameter into the Java type specified by the Fully Qualified Class Name contained in thejavaTypeparameter - dk.cloudcreate.essentials.components.foundation - module dk.cloudcreate.essentials.components.foundation
- dk.cloudcreate.essentials.components.foundation - package dk.cloudcreate.essentials.components.foundation
- dk.cloudcreate.essentials.components.foundation.fencedlock - package dk.cloudcreate.essentials.components.foundation.fencedlock
- dk.cloudcreate.essentials.components.foundation.json - package dk.cloudcreate.essentials.components.foundation.json
- dk.cloudcreate.essentials.components.foundation.messaging - package dk.cloudcreate.essentials.components.foundation.messaging
- dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward - package dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.operation - package dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.operation
- dk.cloudcreate.essentials.components.foundation.messaging.queue - package dk.cloudcreate.essentials.components.foundation.messaging.queue
- dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer - package dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer
- dk.cloudcreate.essentials.components.foundation.messaging.queue.operations - package dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
- dk.cloudcreate.essentials.components.foundation.postgresql - package dk.cloudcreate.essentials.components.foundation.postgresql
- dk.cloudcreate.essentials.components.foundation.reactive.command - package dk.cloudcreate.essentials.components.foundation.reactive.command
- dk.cloudcreate.essentials.components.foundation.transaction - package dk.cloudcreate.essentials.components.foundation.transaction
- dk.cloudcreate.essentials.components.foundation.transaction.jdbi - package dk.cloudcreate.essentials.components.foundation.transaction.jdbi
- dk.cloudcreate.essentials.components.foundation.transaction.mongo - package dk.cloudcreate.essentials.components.foundation.transaction.mongo
- dk.cloudcreate.essentials.components.foundation.transaction.spring - package dk.cloudcreate.essentials.components.foundation.transaction.spring
- dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi - package dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi
- dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo - package dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo
- dk.cloudcreate.essentials.components.foundation.types - package dk.cloudcreate.essentials.components.foundation.types
- DurableLocalCommandBus - Class in dk.cloudcreate.essentials.components.foundation.reactive.command
-
Provides a JVM local and durable, in regard to
DurableLocalCommandBus.sendAndDontWait(Object)/DurableLocalCommandBus.sendAndDontWait(Object, Duration)), variant of theCommandBusconcept
Durability forDurableLocalCommandBus.sendAndDontWait(Object)/DurableLocalCommandBus.sendAndDontWait(Object, Duration)) is delegated toDurableQueues
WhichQueueNamethat is used will be determined by the specifiedDurableLocalCommandBus.getCommandQueueName()
TheRedeliveryPolicyis determined by the specifiedDurableLocalCommandBus.getCommandQueueRedeliveryPolicy()
Note: If theSendAndDontWaitErrorHandlerprovided doesn't rethrow the exception, then the underlyingDurableQueueswill not be able to retry the command.
Due to this theDurableLocalCommandBusdefaults to using theSendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler - DurableLocalCommandBus(DurableQueues) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBususing defaults:DurableLocalCommandBus.getCommandQueueName():DurableLocalCommandBus.DEFAULT_COMMAND_QUEUE_NAMEDurableLocalCommandBus.getCommandQueueRedeliveryPolicy():DurableLocalCommandBus.DEFAULT_REDELIVERY_POLICYSendAndDontWaitErrorHandler:SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler - DurableLocalCommandBus(DurableQueues, int, QueueName, RedeliveryPolicy, SendAndDontWaitErrorHandler, CommandBusInterceptor...) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBus - DurableLocalCommandBus(DurableQueues, int, QueueName, RedeliveryPolicy, SendAndDontWaitErrorHandler, List<CommandBusInterceptor>) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBus - DurableLocalCommandBus(DurableQueues, QueueName, RedeliveryPolicy) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBususing defaults:SendAndDontWaitErrorHandler:SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler - DurableLocalCommandBus(DurableQueues, QueueName, CommandBusInterceptor...) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBususing defaults:DurableLocalCommandBus.getCommandQueueRedeliveryPolicy():DurableLocalCommandBus.DEFAULT_REDELIVERY_POLICYSendAndDontWaitErrorHandler:SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler - DurableLocalCommandBus(DurableQueues, QueueName, SendAndDontWaitErrorHandler) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBususing defaults:SendAndDontWaitErrorHandler:SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler - DurableLocalCommandBus(DurableQueues, QueueName, SendAndDontWaitErrorHandler, List<CommandBusInterceptor>) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBususing defaults:DurableLocalCommandBus.getCommandQueueRedeliveryPolicy():DurableLocalCommandBus.DEFAULT_REDELIVERY_POLICY - DurableLocalCommandBus(DurableQueues, QueueName, List<CommandBusInterceptor>) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBususing defaults:DurableLocalCommandBus.getCommandQueueRedeliveryPolicy():DurableLocalCommandBus.DEFAULT_REDELIVERY_POLICYSendAndDontWaitErrorHandler:SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler - DurableLocalCommandBus(DurableQueues, CommandBusInterceptor...) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBususing defaults:DurableLocalCommandBus.getCommandQueueName():DurableLocalCommandBus.DEFAULT_COMMAND_QUEUE_NAMEDurableLocalCommandBus.getCommandQueueRedeliveryPolicy():DurableLocalCommandBus.DEFAULT_REDELIVERY_POLICYSendAndDontWaitErrorHandler:SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler - DurableLocalCommandBus(DurableQueues, SendAndDontWaitErrorHandler) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- DurableLocalCommandBus(DurableQueues, SendAndDontWaitErrorHandler, CommandBusInterceptor...) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- DurableLocalCommandBus(DurableQueues, SendAndDontWaitErrorHandler, List<CommandBusInterceptor>) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- DurableLocalCommandBus(DurableQueues, List<CommandBusInterceptor>) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
-
Create a new
DurableLocalCommandBususing defaults:DurableLocalCommandBus.getCommandQueueName():DurableLocalCommandBus.DEFAULT_COMMAND_QUEUE_NAMEDurableLocalCommandBus.getCommandQueueRedeliveryPolicy():DurableLocalCommandBus.DEFAULT_REDELIVERY_POLICYSendAndDontWaitErrorHandler:SendAndDontWaitErrorHandler.RethrowingSendAndDontWaitErrorHandler - DurableLocalCommandBusBuilder - Class in dk.cloudcreate.essentials.components.foundation.reactive.command
-
Builder for
DurableLocalCommandBus - DurableLocalCommandBusBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
- DurableQueueBasedInbox(InboxConfig) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- DurableQueueBasedInbox(InboxConfig, Consumer<Message>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- durableQueueBasedInboxes(DurableQueues, FencedLockManager) - Static method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes
-
Create an
Inboxesinstance that uses aDurableQueuesas its storage and message delivery mechanism. - DurableQueueBasedInboxes(DurableQueues, FencedLockManager) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes
- DurableQueueBasedOutbox(OutboxConfig) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- DurableQueueBasedOutbox(OutboxConfig, Consumer<Message>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- durableQueueBasedOutboxes(DurableQueues, FencedLockManager) - Static method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes
-
Create an
Outboxesinstance that uses aDurableQueuesas its storage and message delivery mechanism. - DurableQueueBasedOutboxes(DurableQueues, FencedLockManager) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes
- durableQueueConsumer - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.StopConsumingFromQueue
-
The durable queue consumer being stopped
- DurableQueueConsumer - Interface in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
DurableQueuesconsumer - DurableQueueConsumerNotifications - Interface in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
Notification interface that
DurableQueueConsumercan 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 aQueuePollingOptimizer - DurableQueueException - Exception in dk.cloudcreate.essentials.components.foundation.messaging.queue
- DurableQueueException(String, QueueName) - Constructor for exception dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueException
- DurableQueueException(String, QueueName, QueueEntryId) - Constructor for exception dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueException
- DurableQueueException(String, Throwable, QueueName) - Constructor for exception dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueException
- DurableQueueException(String, Throwable, QueueName, QueueEntryId) - Constructor for exception dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueException
- DurableQueueException(Throwable, QueueName) - Constructor for exception dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueException
- DurableQueueException(Throwable, QueueName, QueueEntryId) - Constructor for exception dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueException
- DurableQueues - Interface in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
The
DurableQueuesconcept 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 - Enum Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
The sorting order for the
QueuedMessage.getId() - DurableQueuesInterceptor - Interface in dk.cloudcreate.essentials.components.foundation.messaging.queue
- DurableQueuesMicrometerInterceptor - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer
- DurableQueuesMicrometerInterceptor(MeterRegistry) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- DurableQueuesMicrometerTracingInterceptor - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer
- DurableQueuesMicrometerTracingInterceptor(Tracer, Propagator, ObservationRegistry, boolean) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
E
- empty() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- entrySet() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- equals(Object) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- equals(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
- equals(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- equals(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- equals(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- equals(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- equals(Object) - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.TableChangeNotification
- EventId - Class in dk.cloudcreate.essentials.components.foundation.types
-
An Event id provides a unique identifier for an Event
- EventId(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.types.EventId
- exponentialBackoff() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
-
Create a builder for defining a
RedeliveryPolicythat allows for defining an Exponential Backoff strategy - exponentialBackoff(Duration, Duration, double, Duration, int) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- ExponentialBackoffBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging
-
Builder for
RedeliveryPolicythat allows for defining an Exponential Backoff strategy - similar toRedeliveryPolicyBuilder - ExponentialBackoffBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.ExponentialBackoffBuilder
F
- FENCED_LOCK_TOKEN - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
-
If the message is delivered via either an
InboxorOutboxusing aFencedLock, such asInboxes.durableQueueBasedInboxes(DurableQueues, FencedLockManager)) orOutboxes.durableQueueBasedOutboxes(DurableQueues, FencedLockManager), to coordinate message consumption, then you can find theFencedLock.getCurrentToken()of the consumer under this key - FencedLock - Interface in dk.cloudcreate.essentials.components.foundation.fencedlock
-
Represents a named fenced lock, where the
FencedLock.getCurrentToken()can be passed on to down stream logic, which can keep track of the token value to identify if a timed out lock is being used to request logic.
The fence locking concept is described here https://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.html - FencedLockEvents - Interface in dk.cloudcreate.essentials.components.foundation.fencedlock
- FencedLockEvents.FencedLockManagerStarted - Class in dk.cloudcreate.essentials.components.foundation.fencedlock
-
Is published on the
LocalEventBuswhen aLifecycle.start()is called (and the lock manager isn't already started) - FencedLockEvents.FencedLockManagerStopped - Class in dk.cloudcreate.essentials.components.foundation.fencedlock
-
Is published on the
LocalEventBuswhen aLifecycle.stop()is called (and the lock manager isn't already stopped) - FencedLockEvents.LockAcquired - Class in dk.cloudcreate.essentials.components.foundation.fencedlock
- FencedLockEvents.LockConfirmed - Class in dk.cloudcreate.essentials.components.foundation.fencedlock
- FencedLockEvents.LockReleased - Class in dk.cloudcreate.essentials.components.foundation.fencedlock
- FencedLockManager - Interface in dk.cloudcreate.essentials.components.foundation.fencedlock
-
This library provides a Distributed Locking Manager based of the Fenced Locking concept described here
TheFencedLockManageris responsible for obtaining and managing distributedFencedLock's, which are named exclusive locks.
Only oneFencedLockManagerinstance can acquire aFencedLockat a time.
The implementation has been on supporting intra-service (i.e. - FencedLockManagerStarted(FencedLockManager) - Constructor for class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.FencedLockManagerStarted
- FencedLockManagerStopped(FencedLockManager) - Constructor for class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.FencedLockManagerStopped
- FencedLockStorage<UOW extends UnitOfWork,
LOCK extends DBFencedLock> - Interface in dk.cloudcreate.essentials.components.foundation.fencedlock - fixedBackoff() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
-
Create a builder for defining a
RedeliveryPolicywith a Fixed Backoff strategy - fixedBackoff(Duration, int) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- FixedBackoffBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging
-
A builder for defining a
RedeliveryPolicywith a Fixed Backoff strategy - FixedBackoffBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.FixedBackoffBuilder
- followupRedeliveryDelay - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- followupRedeliveryDelayMultiplier - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- forEach(BiConsumer<? super String, ? super String>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- FullyTransactional - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.TransactionalMode
-
When using this mode all the queueing, de-queueing methods requires an existing
UnitOfWorkstarted prior to being called.
G
- generate() - Static method in class dk.cloudcreate.essentials.components.foundation.types.RandomIdGenerator
-
Generates a new random id according to these rules: Generates UUIDv1 time-based (i.e.
- GenericHandleAwareUnitOfWork(GenericHandleAwareUnitOfWorkFactory<?>) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
- GenericHandleAwareUnitOfWorkFactory<UOW extends HandleAwareUnitOfWork> - Class in dk.cloudcreate.essentials.components.foundation.transaction.jdbi
-
Generic
HandleAwareUnitOfWorkFactoryvariant where the implementation manually manages theUnitOfWorkand the underlying database Transaction.
This class is built for inheritance, but can also be used directly - e.g. - GenericHandleAwareUnitOfWorkFactory(Jdbi) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory
-
Example of using the GenericHandleAwareUnitOfWorkFactory directly
- GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork - Class in dk.cloudcreate.essentials.components.foundation.transaction.jdbi
- get(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- getAddedTimestamp() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getAddedTimestamp() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
When was this message first enqueued (or directly added as a Dead-letter-message)
- getCauseForBeingMarkedAsDeadLetter() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessage
- getCauseForRetry() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
- getCauseOfEnqueuing() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- getCauseOfError() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
- getCauseOfRollback() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
- getCauseOfRollback() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- getCauseOfRollback() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
-
The cause of a Rollback or a
UnitOfWork.markAsRollbackOnly(Exception) - getCommandQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- getCommandQueueRedeliveryPolicy() - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- getConsumerExecutorService() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- getConsumerName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- getCurrentToken() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- getCurrentToken() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
-
The current token value as of the
FencedLock.getLockLastConfirmedTimestamp()for this Lock across allFencedLockManagerinstances
Every time a lock is acquired or confirmed a new token is issued (i.e. - getCurrentUnitOfWork() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory
- getCurrentUnitOfWork() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
- getCurrentUnitOfWork() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory
-
Get the currently active
UnitOfWork - getDeadLetterMessage(GetDeadLetterMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get a queued message that's marked as a
QueuedMessage.isDeadLetterMessage() - getDeadLetterMessage(QueueEntryId) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get a queued message that's marked as a
QueuedMessage.isDeadLetterMessage() - GetDeadLetterMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Get a queued message that's marked as a
QueuedMessage.isDeadLetterMessage()
Operation also matchesDurableQueuesInterceptor.intercept(GetDeadLetterMessage, InterceptorChain) - GetDeadLetterMessage(QueueEntryId) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessage
-
Get a queued message that's marked as a
QueuedMessage.isDeadLetterMessage() - GetDeadLetterMessageBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
GetDeadLetterMessage - GetDeadLetterMessageBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessageBuilder
- getDeadLetterMessages(GetDeadLetterMessages) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Query Dead Letter Messages (i.e.
- getDeadLetterMessages(QueueName, DurableQueues.QueueingSortOrder, long, long) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Query Dead Letter Messages (i.e.
- GetDeadLetterMessages - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Query Dead Letter Messages (i.e.
- GetDeadLetterMessages(QueueName, DurableQueues.QueueingSortOrder, long, long) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
-
Query Dead Letter Messages (i.e.
- GetDeadLetterMessagesBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
GetDeadLetterMessages - GetDeadLetterMessagesBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessagesBuilder
- getDeliveryDelay() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- getDeliveryDelay() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- getDeliveryDelay() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessage
- getDeliveryDelay() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
- getDeliveryMode() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getDeliveryMode() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Get the message's
QueuedMessage.DeliveryMode - getDeliveryTimestamp() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getDeliveryTimestamp() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
If
QueuedMessage.isBeingDelivered()is true, thenQueuedMessage.getDeliveryTimestamp()returns the timestamp for when the message delivery started. - getDurableQueueConsumer() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.StopConsumingFromQueue
- getDurationSinceLastConfirmation() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- getEventBus() - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.MultiTableChangeListener
- getExcludeOrderedMessagesWithKey() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDelivery
- getId() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getId() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
The unique queue entry id for this message
- getInboxes() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes
- getInboxes() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes
- getInboxName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
- getInitialTokenValue() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- getInitialTokenValue() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Return the DB specific value for a
FencedLock.getCurrentToken()that is being persisted the very first time - getJdbi() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi.SpringTransactionAwareJdbiUnitOfWorkFactory
- getKey() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.OrderedMessage
-
All messages sharing the same key, will be delivered according to their
OrderedMessage.getOrder()
An example of a message key is the id of the entity the message relates to - getLastDeliveryError() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getLastDeliveryError() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Get the error from the last delivery (null if no error is recorded)
- getLockAcquiredTimestamp() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- getLockAcquiredTimestamp() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
-
At what time did the JVM/
FencedLockManager.getLockManagerInstanceId()that currently has acquired the lock acquire it (at first acquiring theFencedLock.getLockLastConfirmedTimestamp()is set toFencedLock.getLockAcquiredTimestamp()) - getLockedByLockManagerInstanceId() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- getLockedByLockManagerInstanceId() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
-
Which JVM/
FencedLockManager.getLockManagerInstanceId()that has acquired this lock - getLockLastConfirmedTimestamp() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- getLockLastConfirmedTimestamp() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
-
At what time did the JVM/
FencedLockManager.getLockManagerInstanceId(), that currently has acquired the lock, last confirm that it still has access to the lock - getLockManager() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.FencedLockManagerStarted
- getLockManager() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.FencedLockManagerStopped
- getLockManager() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents
- getLockManager() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockAcquired
- getLockManager() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockConfirmed
- getLockManager() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockReleased
- getLockManagerInstanceId() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- getLockManagerInstanceId() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Get the instance id that distinguishes different
FencedLockManagerinstances from each other
For local JVM testing you can assign a unique instance id to allow multipleFencedLockManager's to compete for Locks.
In production the hostname should be returned - getMessage() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getMessage() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
-
Get the message being queued
- getMessage() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
-
Get the dead letter message
- getMessage() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Get the message queued
- getMessageConsumptionMode() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
- getMessageConsumptionMode() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
- getMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- getMetaData() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.Message
-
Get the
MessageMetaDataassociated with the message - getMetaData() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- getMetaData() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
- getMetaData() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Get the
Message.getMetaData() - getName() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- getName() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
-
The name of the Lock
- getNextDeliveryTimestamp() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getNextDeliveryTimestamp() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Timestamp for when the message should be delivered next time.
- getNextMessageReadyForDelivery(GetNextMessageReadyForDelivery) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Query the next Queued Message (i.e.
- getNextMessageReadyForDelivery(QueueName) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Query the next Queued Message (i.e.
- GetNextMessageReadyForDelivery - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Query the next Queued Message (i.e.
- GetNextMessageReadyForDelivery(QueueName) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDelivery
-
Query the next Queued Message (i.e.
- GetNextMessageReadyForDelivery(QueueName, Collection<String>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDelivery
-
Query the next Queued Message (i.e.
- GetNextMessageReadyForDeliveryBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
GetNextMessageReadyForDelivery - GetNextMessageReadyForDeliveryBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDeliveryBuilder
- getNumberOfOutgoingMessages() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Get the number of message in the outbox that haven't been sent yet
- getNumberOfOutgoingMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- getNumberOfParallelMessageConsumers() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
- getNumberOfParallelMessageConsumers() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
- getNumberOfUndeliveredMessages() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Get the number of message received that haven't been processed yet (or successfully processed) by the message consumer
- getNumberOfUndeliveredMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- getOperation() - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.TableChangeNotification
- getOrCreateForwardingOutbox(OutboxConfig, EventHandler) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes
-
Get an existing
Outboxinstance or create a new instance that forwards to anEventHandler.
If an existingOutboxwith a matchingOutboxNameis already created then that instance is returned (irrespective of whether the redeliveryPolicy, etc. - getOrCreateInbox(InboxConfig) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes
- getOrCreateInbox(InboxConfig) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes
-
Get an existing
Inboxinstance or create a new instance. - getOrCreateInbox(InboxConfig, CommandBus) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes
-
Get an existing
Inboxinstance or create a new instance. - getOrCreateInbox(InboxConfig, Consumer<Message>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes
- getOrCreateInbox(InboxConfig, Consumer<Message>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes
-
Get an existing
Inboxinstance or create a new instance. - getOrCreateNewUnitOfWork() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory
- getOrCreateNewUnitOfWork() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
- getOrCreateNewUnitOfWork() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory
-
Get the currently active
UnitOfWorkor create a newUnitOfWorkif one is missing - getOrCreateOutbox(OutboxConfig) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes
- getOrCreateOutbox(OutboxConfig) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes
-
Get an existing
Outboxinstance or create a new instance. - getOrCreateOutbox(OutboxConfig, Consumer<Message>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes
- getOrCreateOutbox(OutboxConfig, Consumer<Message>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes
-
Get an existing
Outboxinstance or create a new instance. - getOrDefault(Object, String) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- getOrder() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.OrderedMessage
-
Represent the order of a message relative to the
OrderedMessage.getKey().
All messages sharing the same key, will be delivered according to theirOrderedMessage.getOrder() - getOutboxes() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes
- getOutboxes() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes
- getOutboxName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
- getPageSize() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
- getPageSize() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
- getParallelConsumers() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- getParallelSendAndDontWaitConsumers() - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- getPayload() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.Message
-
Get the message payload
- getPayload() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- getPayload() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
- getPayload() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Get the
Message.getPayload() - getPollingInterval() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- getQueuedMessage(GetQueuedMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get a queued message that is NOT marked as a
QueuedMessage.isDeadLetterMessage() - getQueuedMessage(QueueEntryId) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get a queued message that is NOT marked as a
QueuedMessage.isDeadLetterMessage() - GetQueuedMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Get a queued message that is NOT marked as a
QueuedMessage.isDeadLetterMessage()
Operation also matchesDurableQueuesInterceptor.intercept(GetQueuedMessage, InterceptorChain) - GetQueuedMessage(QueueEntryId) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessage
-
Get a queued message that is NOT marked as a
QueuedMessage.isDeadLetterMessage() - GetQueuedMessageBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
GetQueuedMessage - GetQueuedMessageBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessageBuilder
- getQueuedMessages(GetQueuedMessages) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Query Queued Messages (i.e.
- getQueuedMessages(QueueName, DurableQueues.QueueingSortOrder, long, long) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Query Queued Messages (i.e.
- GetQueuedMessages - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Query Queued Messages (i.e.
- GetQueuedMessages(QueueName, DurableQueues.QueueingSortOrder, long, long) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
-
Query Queued Messages (i.e.
- GetQueuedMessagesBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
GetQueuedMessages - GetQueuedMessagesBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessagesBuilder
- getQueueEntryId() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.AcknowledgeMessageAsHandled
- getQueueEntryId() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.DeleteMessage
- getQueueEntryId() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessage
- getQueueEntryId() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessage
- getQueueEntryId() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessage
- getQueueEntryId() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessage
- getQueueEntryId() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
- getQueueingSortOrder() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
- getQueueingSortOrder() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
- getQueueMessageHandler() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDelivery
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalDeadLetterMessagesQueuedFor
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalMessagesQueuedFor
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueue
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
- getQueueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- getQueueName() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Name of the Queue that the message is enqueued on
- getQueueNameFor(QueueEntryId) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get the name of the Queue where the message with
queueEntryIdis queued (either as a normal queued messages or a dead-letter/poison-message) - getQueueNames() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get all the
QueueName's with messages queued, dead-letter-messages/poison-messages queued or which has an active queue consumer - getRedeliveryAttempts() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getRedeliveryAttempts() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
How many times has we attempted to re-deliver this message (same as
QueuedMessage.getTotalDeliveryAttempts()-1) - getRedeliveryPolicy() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
- getRedeliveryPolicy() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
- getRedeliveryPolicy() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- getRequiredUnitOfWork() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory
- getRequiredUnitOfWork() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
- getRequiredUnitOfWork() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory
-
Get a required active
UnitOfWork - getServiceMajorVersion(Handle) - Static method in class dk.cloudcreate.essentials.components.foundation.postgresql.PostgresqlUtil
-
Read the major Postgresql server version
- getStartIndex() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
- getStartIndex() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
- getTableName() - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.TableChangeNotification
- getTotalDeadLetterMessagesQueuedFor(GetTotalDeadLetterMessagesQueuedFor) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get the total number of dead-letter-messages/poison-messages queued for the given queue
- getTotalDeadLetterMessagesQueuedFor(QueueName) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get the total number of dead-letter-messages/poison-messages queued for the given queue
- GetTotalDeadLetterMessagesQueuedFor - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Get the total number of dead-letter-messages/poison-messages queued for the given queue
Operation also matchedDurableQueuesInterceptor.intercept(GetTotalDeadLetterMessagesQueuedFor, InterceptorChain) - GetTotalDeadLetterMessagesQueuedFor(QueueName) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalDeadLetterMessagesQueuedFor
-
Get the total number of dead-letter-messages/poison-messages queued for the given queue
- GetTotalDeadLetterMessagesQueuedForBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
GetTotalDeadLetterMessagesQueuedFor - GetTotalDeadLetterMessagesQueuedForBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalDeadLetterMessagesQueuedForBuilder
- getTotalDeliveryAttempts() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- getTotalDeliveryAttempts() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Get the total number of delivery attempts for this message
- getTotalMessagesQueuedFor(GetTotalMessagesQueuedFor) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get the total number of messages queued (i.e.
- getTotalMessagesQueuedFor(QueueName) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Get the total number of messages queued (i.e.
- GetTotalMessagesQueuedFor - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Get the total number of messages queued (i.e.
- GetTotalMessagesQueuedFor(QueueName) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalMessagesQueuedFor
-
Get the total number of messages queued (i.e.
- GetTotalMessagesQueuedForBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
GetTotalMessagesQueuedFor - GetTotalMessagesQueuedForBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalMessagesQueuedForBuilder
- getTransactionalMode() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
The transactional behaviour mode of this
DurableQueuesinstance - getTransactionManager() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
- getUninitializedTokenValue() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- getUninitializedTokenValue() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Return the DB specific uninitialized value for a
FencedLock.getCurrentToken()that has yet to be persisted for the very first time - getUnitOfWorkFactory() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
- GlobalCompetingConsumers - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.MessageConsumptionMode
-
Multiple consumers in a cluster can compete to handle messages, but a message will only be handled a single consumer
H
- handle() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
- handle() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork
- handle() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi.SpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork
- handle(QueuedMessage) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.PatternMatchingQueuedMessageHandler
- handle(QueuedMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessageHandler
- HandleAwareUnitOfWork - Interface in dk.cloudcreate.essentials.components.foundation.transaction.jdbi
-
Version of UnitOfWork that's aware of the
Handleassociated with the currentUnitOfWork - HandleAwareUnitOfWorkFactory<UOW extends HandleAwareUnitOfWork> - Interface in dk.cloudcreate.essentials.components.foundation.transaction.jdbi
-
Specialization of
UnitOfWorkFactorythat created and maintainsHandleAwareUnitOfWork's - handlesMessageWithPayload(Class<?>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
-
Check amongst all the
MessageHandlerannotated methods and check if there's a method that matches (i.e. - handleUnmatchedMessage(Message) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
-
Override this method to provide custom handling for
Message's who'sMessage.getPayload()aren't matched
Default behaviour is to throw anIllegalArgumentExceptionunlessPatternMatchingMessageHandler.isAllowUnmatchedMessages()is set to true (default value is false) - handleUnmatchedMessage(QueuedMessage) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.PatternMatchingQueuedMessageHandler
-
Override this method to provide custom handling for
QueuedMessage's who'sMessage.getPayload()aren't matched
Default behaviour is to throw anIllegalArgumentExceptionunlessPatternMatchingQueuedMessageHandler.isAllowUnmatchedMessages()is set to true (default value is false) - hasAMessageConsumer() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Has the instance been created with a Message consumer or has
Inbox.consume(Consumer)been called - hasAMessageConsumer() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- hasAMessageConsumer() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Has the instance been created with a Message consumer or has
Outbox.consume(Consumer)been called - hasAMessageConsumer() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- hashCode() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- hashCode() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
- hashCode() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- hashCode() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- hashCode() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- hashCode() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- hashCode() - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.TableChangeNotification
- hasMessagesQueuedFor(QueueName) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Check if there are any messages queued (i.e.
I
- id - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- id - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- IN_ORDER - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage.DeliveryMode
- Inbox - Interface in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- InboxConfig - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- InboxConfig(InboxName, RedeliveryPolicy, MessageConsumptionMode, int) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
- InboxConfigBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- InboxConfigBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfigBuilder
- Inboxes - Interface in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- Inboxes.DurableQueueBasedInboxes - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- inboxName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
-
The name of the inbox
- inboxName(InboxName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfigBuilder
- InboxName - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
-
The name of an
Inbox - InboxName(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxName
- inboxQueueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- incProcessedQueuedDeadLetterMessagesCount(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- incProcessedQueuedMessagesCount(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- incProcessedQueuedMessagesCount(QueueName, int) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- incQueuedMessagesRetriesCount(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- initializeLockStorage(DBFencedLockManager<UOW, LOCK>, UOW) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Initialize the database storage (e.g.
- initialRedeliveryDelay - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- INSERT - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify.SqlOperation
- insertLockIntoDB(DBFencedLockManager<UOW, LOCK>, UOW, LOCK, OffsetDateTime) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Insert the local into the DB for the very first time
- intercept(InvokeMessageHandlerMethod, InterceptorChain<InvokeMessageHandlerMethod, Void, MessageHandlerInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.MessageHandlerInterceptor
-
Intercept
InvokeMessageHandlerMethodcalls - intercept(AcknowledgeMessageAsHandled, InterceptorChain<AcknowledgeMessageAsHandled, Boolean, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
AcknowledgeMessageAsHandledcalls - intercept(AcknowledgeMessageAsHandled, InterceptorChain<AcknowledgeMessageAsHandled, Boolean, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(ConsumeFromQueue, InterceptorChain<ConsumeFromQueue, DurableQueueConsumer, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
ConsumeFromQueuecalls - intercept(DeleteMessage, InterceptorChain<DeleteMessage, Boolean, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
DeleteMessagecalls - intercept(DeleteMessage, InterceptorChain<DeleteMessage, Boolean, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- intercept(DeleteMessage, InterceptorChain<DeleteMessage, Boolean, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(GetDeadLetterMessage, InterceptorChain<GetDeadLetterMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
GetDeadLetterMessagecalls - intercept(GetDeadLetterMessage, InterceptorChain<GetDeadLetterMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(GetDeadLetterMessages, InterceptorChain<GetDeadLetterMessages, List<QueuedMessage>, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
GetDeadLetterMessagescalls - intercept(GetNextMessageReadyForDelivery, InterceptorChain<GetNextMessageReadyForDelivery, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
GetNextMessageReadyForDeliverycalls - intercept(GetNextMessageReadyForDelivery, InterceptorChain<GetNextMessageReadyForDelivery, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(GetQueuedMessage, InterceptorChain<GetQueuedMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
GetQueuedMessagecalls - intercept(GetQueuedMessage, InterceptorChain<GetQueuedMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(GetQueuedMessages, InterceptorChain<GetQueuedMessages, List<QueuedMessage>, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
GetQueuedMessagescalls - intercept(GetTotalDeadLetterMessagesQueuedFor, InterceptorChain<GetTotalDeadLetterMessagesQueuedFor, Long, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
GetTotalDeadLetterMessagesQueuedForcalls - intercept(GetTotalMessagesQueuedFor, InterceptorChain<GetTotalMessagesQueuedFor, Long, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
GetTotalMessagesQueuedForcalls - intercept(MarkAsDeadLetterMessage, InterceptorChain<MarkAsDeadLetterMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
MarkAsDeadLetterMessagecalls - intercept(MarkAsDeadLetterMessage, InterceptorChain<MarkAsDeadLetterMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- intercept(MarkAsDeadLetterMessage, InterceptorChain<MarkAsDeadLetterMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(PurgeQueue, InterceptorChain<PurgeQueue, Integer, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
PurgeQueuecalls - intercept(QueueMessageAsDeadLetterMessage, InterceptorChain<QueueMessageAsDeadLetterMessage, QueueEntryId, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
QueueMessageAsDeadLetterMessagecalls - intercept(QueueMessageAsDeadLetterMessage, InterceptorChain<QueueMessageAsDeadLetterMessage, QueueEntryId, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- intercept(QueueMessageAsDeadLetterMessage, InterceptorChain<QueueMessageAsDeadLetterMessage, QueueEntryId, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(QueueMessage, InterceptorChain<QueueMessage, QueueEntryId, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
QueueMessagecalls - intercept(QueueMessage, InterceptorChain<QueueMessage, QueueEntryId, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- intercept(QueueMessage, InterceptorChain<QueueMessage, QueueEntryId, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(QueueMessages, InterceptorChain<QueueMessages, List<QueueEntryId>, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
QueueMessagescalls - intercept(QueueMessages, InterceptorChain<QueueMessages, List<QueueEntryId>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- intercept(QueueMessages, InterceptorChain<QueueMessages, List<QueueEntryId>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(ResurrectDeadLetterMessage, InterceptorChain<ResurrectDeadLetterMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
ResurrectDeadLetterMessagecalls - intercept(ResurrectDeadLetterMessage, InterceptorChain<ResurrectDeadLetterMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- intercept(RetryMessage, InterceptorChain<RetryMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
RetryMessagecalls - intercept(RetryMessage, InterceptorChain<RetryMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- intercept(RetryMessage, InterceptorChain<RetryMessage, Optional<QueuedMessage>, DurableQueuesInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- intercept(StopConsumingFromQueue, InterceptorChain<StopConsumingFromQueue, DurableQueueConsumer, DurableQueuesInterceptor>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
Intercept
StopConsumingFromQueuecalls - is initiated whenDurableQueueConsumer.cancel()is called - interceptSend(Object, CommandBusInterceptorChain) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.UnitOfWorkControllingCommandBusInterceptor
- interceptSendAndDontWait(Object, CommandBusInterceptorChain) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.UnitOfWorkControllingCommandBusInterceptor
- interceptSendAsync(Object, CommandBusInterceptorChain) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.UnitOfWorkControllingCommandBusInterceptor
- InvokeMessageHandlerMethod - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.operation
- InvokeMessageHandlerMethod(Method, Message, Object, Object, Class<?>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.operation.InvokeMessageHandlerMethod
- invokeMethodOn - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.operation.InvokeMessageHandlerMethod
- isAllowUnmatchedMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
-
Should the event handler allow unmatched
Message.getPayload()? If true then an unmatchedMessage.getPayload()is ignored, if false (the default value) then an unmatched event will causePatternMatchingMessageHandler.handleUnmatchedMessage(Message)will throw anIllegalArgumentException - isAllowUnmatchedMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.PatternMatchingQueuedMessageHandler
-
Should the event handler allow unmatched
Message.getPayload()? If true then an unmatchedMessage.getPayload()is ignored, if false (the default value) then an unmatched event will causePatternMatchingQueuedMessageHandler.handleUnmatchedMessage(QueuedMessage)will throw anIllegalArgumentException - isBeingDelivered - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- isBeingDelivered() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- isBeingDelivered() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Is the message currently being delivered to a message consumer
- isCompleted - Variable in enum class dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkStatus
- isCompleted() - Method in enum class dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkStatus
- isConsumingMessages() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Is the provided Message consumer consuming messages from the
Inbox - isConsumingMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- isConsumingMessages() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Is the provided Message consumer consuming messages from the
Outbox - isConsumingMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- isDeadLetterMessage - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- isDeadLetterMessage() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- isDeadLetterMessage() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage
-
Is this a poison/dead-letter message that will not be delivered until
DurableQueues.resurrectDeadLetterMessage(ResurrectDeadLetterMessage)is called - isEmpty() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- isLockAcquired(LockName) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- isLockAcquired(LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Is the lock acquired
- isLockAcquiredByAnotherLockManagerInstance(LockName) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- isLockAcquiredByAnotherLockManagerInstance(LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Is the lock already acquired by another JVM node
- isLocked() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- isLocked() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
-
Is this lock locked?
- isLockedByThisLockManagerInstance() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- isLockedByThisLockManagerInstance() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
-
Is this Lock locked by this JVM node
- isLockedByThisLockManagerInstance(LockName) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- isLockedByThisLockManagerInstance(LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Is the lock already acquired by this JVM node
- isOrderedIdGenerator() - Static method in class dk.cloudcreate.essentials.components.foundation.types.RandomIdGenerator
- isPermanentError(QueuedMessage, Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler.AlwaysRetry
- isPermanentError(QueuedMessage, Exception) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler
-
This method is called when the
DurableQueueConsumerexperiences an exception during Message delivery.
The result of this method determines if the Message is instantly marked as a Poison-Message/Dead-Letter-Message or if we can attempt message redelivery according to the specifiedRedeliveryPolicy - isPermanentError(QueuedMessage, Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler.NeverRetry
- isPermanentError(QueuedMessage, Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler.StopRedeliveryOn
- isPermanentError(QueuedMessage, Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- isStarted() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- isStarted() - Method in interface dk.cloudcreate.essentials.components.foundation.Lifecycle
-
Returns true if the process is started
- isStarted() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- isStarted() - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
J
- JacksonJSONSerializer - Class in dk.cloudcreate.essentials.components.foundation.json
-
Jackson
ObjectMapperbasedJSONSerializer - JacksonJSONSerializer(ObjectMapper) - Constructor for class dk.cloudcreate.essentials.components.foundation.json.JacksonJSONSerializer
- JdbiUnitOfWorkFactory - Class in dk.cloudcreate.essentials.components.foundation.transaction.jdbi
- JdbiUnitOfWorkFactory(Jdbi) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.JdbiUnitOfWorkFactory
- JSONDeserializationException - Exception in dk.cloudcreate.essentials.components.foundation.json
- JSONDeserializationException(String) - Constructor for exception dk.cloudcreate.essentials.components.foundation.json.JSONDeserializationException
- JSONDeserializationException(String, Exception) - Constructor for exception dk.cloudcreate.essentials.components.foundation.json.JSONDeserializationException
- JSONSerializationException - Exception in dk.cloudcreate.essentials.components.foundation.json
- JSONSerializationException(String, Exception) - Constructor for exception dk.cloudcreate.essentials.components.foundation.json.JSONSerializationException
- JSONSerializer - Interface in dk.cloudcreate.essentials.components.foundation.json
-
JSON serializer and deserializer
K
- key - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.OrderedMessage
-
All messages sharing the same key, will be delivered according to their
OrderedMessage.order
An example of a message key is the id of the entity the message relates to - keySet() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
L
- lastDeliveryError - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- Lifecycle - Interface in dk.cloudcreate.essentials.components.foundation
-
Common process life cycle interface
- linearBackoff() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
-
Create a builder for defining a
RedeliveryPolicywith a Linear Backoff strategy - linearBackoff(Duration, Duration, int) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- LinearBackoffBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging
-
A builder for defining a
RedeliveryPolicywith a Linear Backoff strategy - LinearBackoffBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.LinearBackoffBuilder
- listen(Jdbi, String, Duration) - Static method in class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify
-
Listen to notifications related to the given table that was setup using
ListenNotify.addChangeNotificationTriggerToTable(Handle, String, List, String...)
As the default Postgresql driver doesn't support asynchronous notification, we're using a polling mechanism.
Note: If you need to listen to notification from multiple tables, then you MUST useMultiTableChangeListenerinstead. Example: - ListenNotify - Class in dk.cloudcreate.essentials.components.foundation.postgresql
-
Helper class for setting up the NOTIFY part of the classical Postgresql LISTEN/NOTIFY concept.
See https://jdbc.postgresql.org/documentation/81/listennotify.html and
https://www.postgresql.org/docs/current/sql-notify.html - ListenNotify() - Constructor for class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify
- ListenNotify.SqlOperation - Enum Class in dk.cloudcreate.essentials.components.foundation.postgresql
- listenToNotificationsFor(String, Class<? extends T>) - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.MultiTableChangeListener
-
Start listening for notifications related to changes to the given table
Note: Remember to install the notification support, usingListenNotify.addChangeNotificationTriggerToTable(Handle, String, List, String...), prior to using this method - lock - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockAcquired
- lock - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockConfirmed
- lock - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockReleased
- lockAcquired(FencedLock) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.LockCallback
-
This method is called when the lock in question is acquired by the
FencedLockManageron this JVM instance - LockAcquired(FencedLock, FencedLockManager) - Constructor for class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockAcquired
- lockCallback(Consumer<FencedLock>, Consumer<FencedLock>) - Static method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.LockCallback
- LockCallback - Interface in dk.cloudcreate.essentials.components.foundation.fencedlock
- LockCallbackBuilder - Class in dk.cloudcreate.essentials.components.foundation.fencedlock
- LockCallbackBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.fencedlock.LockCallbackBuilder
- LockConfirmed(FencedLock, FencedLockManager) - Constructor for class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockConfirmed
- lockManager - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.FencedLockManagerStarted
- lockManager - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.FencedLockManagerStopped
- lockManager - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockAcquired
- lockManager - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockConfirmed
- lockManager - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockReleased
- LockName - Class in dk.cloudcreate.essentials.components.foundation.fencedlock
-
Contains the name of a
FencedLock - LockName(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.fencedlock.LockName
- lockReleased(FencedLock) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.LockCallback
-
This method is called when the lock in question was owned by the
FencedLockManagerinstance belonging to this JVM instance and the lock has been released - LockReleased(FencedLock, FencedLockManager) - Constructor for class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockReleased
- log - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- log - Static variable in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
- LOG - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- logAfterExecution(StatementContext) - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.SqlExecutionTimeLogger
- logBeforeExecution(StatementContext) - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.SqlExecutionTimeLogger
- logException(StatementContext, SQLException) - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.SqlExecutionTimeLogger
- lookupLock(LockName) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- lookupLock(LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Lookup a lock
- lookupLockInDB(DBFencedLockManager<UOW, LOCK>, UOW, LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Lookup a Lock in the underlying database
M
- markAsDeadLetterMessage(MarkAsDeadLetterMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
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 - markAsDeadLetterMessage(QueueEntryId, Exception) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
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 - MarkAsDeadLetterMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
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) - MarkAsDeadLetterMessage(QueueEntryId, Exception) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessage
-
Mark a Message as a Dead Letter Message (or Poison Message).
- MarkAsDeadLetterMessageBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
MarkAsDeadLetterMessage - MarkAsDeadLetterMessageBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessageBuilder
- markAsLocked(OffsetDateTime, String, long) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- markAsReleased() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- markAsRollbackOnly() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
- markAsRollbackOnly(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
- markAsRollbackOnly(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- markAsRollbackOnly(Exception) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
- MarkedForRollbackOnly - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkStatus
-
The
UnitOfWorkmarked as it MUST be rolled back at the end of the transaction - maximumFollowupRedeliveryThreshold - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- maximumNumberOfRedeliveries - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- merge(String, String, BiFunction<? super String, ? super String, ? extends String>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- message - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
-
The deserialized message payload
- Message - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
Encapsulates a Message, which is a
Pairof Payload and itsMessageMetaData - Message(Object) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.Message
-
Create a new
Messageand an emptyMessageMetaData - Message(Object, MessageMetaData) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.Message
-
Create a new
Message - MESSAGE_HANDLING_FAILURE_LOG - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- messageAdded(QueuedMessage) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- messageAdded(QueuedMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumerNotifications
-
Notification from the
DurableQueuesimplementation that a new message has been added to the Queue that the givenDurableQueueConsumeris consuming messages from
Note: A consumer still needs to useDurableQueues.getNextMessageReadyForDelivery(GetNextMessageReadyForDelivery)to ensure proper message locking of messages that they are processing - messageAdded(QueuedMessage) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer.SimpleQueuePollingOptimizer
- messageConsumptionMode - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
-
The consumption mode for the inbox's
messageConsumeracross all the different instances in the entire cluster
If you're working withOrderedMessage's then theInboxconsumer must be configured withInboxConfig.getMessageConsumptionMode()having valueMessageConsumptionMode.SingleGlobalConsumerin order to be able to guarantee thatOrderedMessage's are delivered inOrderedMessage.getOrder()perOrderedMessage.getKey()across as manyInboxConfig.numberOfParallelMessageConsumersas you wish to use. - messageConsumptionMode - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
-
The consumption mode for the outbox's
messageConsumeracross all the different instances in the entire cluster
If you're working withOrderedMessage's then theOutboxconsumer must be configured withOutboxConfig.getMessageConsumptionMode()having valueMessageConsumptionMode.SingleGlobalConsumerin order to be able to guarantee thatOrderedMessage's are delivered inOrderedMessage.getOrder()perOrderedMessage.getKey()across as manyOutboxConfig.numberOfParallelMessageConsumersas you wish to use. - messageConsumptionMode(MessageConsumptionMode) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfigBuilder
- MessageConsumptionMode - Enum Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
-
Defines how messages can be consumed by the provided message consumer
- MessageDeliveryErrorHandler - Interface in dk.cloudcreate.essentials.components.foundation.messaging
-
Strategy for resolving which errors, experienced during Message delivery by the
DurableQueueConsumer, should be instantly marked as a Poison-Message/Dead-Letter-Message or if we can attempt message redelivery according to the specifiedRedeliveryPolicy - MessageDeliveryErrorHandler.AlwaysRetry - Class in dk.cloudcreate.essentials.components.foundation.messaging
- MessageDeliveryErrorHandler.NeverRetry - Class in dk.cloudcreate.essentials.components.foundation.messaging
- MessageDeliveryErrorHandler.StopRedeliveryOn - Class in dk.cloudcreate.essentials.components.foundation.messaging
- MessageDeliveryErrorHandlerBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging
-
Builder for
MessageDeliveryErrorHandler - MessageDeliveryErrorHandlerBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandlerBuilder
- MessageHandler - Annotation Interface in dk.cloudcreate.essentials.components.foundation.messaging
-
Methods annotated with this Annotation will automatically be called when a
PatternMatchingQueuedMessageHandlerandPatternMatchingMessageHandlerreceives respectively aQueuedMessageor aMessagewhere theMessage.getPayload()matches the type of the first argument/parameter on a method annotated with @MessageHandler - MessageHandlerInterceptor - Interface in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- MessageId - Class in dk.cloudcreate.essentials.components.foundation.types
-
A message id provides a unique identifier for a Message in a distributed system
- MessageId(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.types.MessageId
- MessageMetaData - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
Encapsulated Metadata (like headers, correlation id, tracing id's, etc.) associated with a
Message - MessageMetaData() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- MessageMetaData(Map<String, String>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- messages - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- methodToInvoke - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.operation.InvokeMessageHandlerMethod
- MultiTableChangeListener<T extends TableChangeNotification> - Class in dk.cloudcreate.essentials.components.foundation.postgresql
-
Variant of
ListenNotify.listen(Jdbi, String, Duration)that allows you to listen for notifications from multiple tables using a single polling thread - MultiTableChangeListener(Jdbi, Duration, ObjectMapper, EventBus) - Constructor for class dk.cloudcreate.essentials.components.foundation.postgresql.MultiTableChangeListener
N
- name() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
The name of the inbox
- name() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- name() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
The name of the outbox
- name() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- NeverRetry() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler.NeverRetry
- nextDeliveryTimestamp - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- nextDeliveryTimestamp - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- NextQueuedMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
- NextQueuedMessage(QueuedMessage) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- NextQueuedMessage(QueueEntryId, QueueName, Instant, Instant) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- NO_POSTPROCESSING_AFTER_PROCESS_NEXT_MESSAGE - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- NoActiveUnitOfWorkException - Exception in dk.cloudcreate.essentials.components.foundation.transaction
- NoActiveUnitOfWorkException() - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.NoActiveUnitOfWorkException
- NoActiveUnitOfWorkException(String) - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.NoActiveUnitOfWorkException
- NoActiveUnitOfWorkException(String, Throwable) - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.NoActiveUnitOfWorkException
- NoActiveUnitOfWorkException(String, Throwable, boolean, boolean) - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.NoActiveUnitOfWorkException
- NoActiveUnitOfWorkException(Throwable) - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.NoActiveUnitOfWorkException
- None() - Static method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer
- NORMAL - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage.DeliveryMode
- notify(FencedLockEvents) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- numberOfParallelMessageConsumers - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
-
The number of local parallel message consumers
- numberOfParallelMessageConsumers - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
-
The number of local parallel message consumers
- numberOfParallelMessageConsumers(int) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfigBuilder
O
- objectMapper - Variable in class dk.cloudcreate.essentials.components.foundation.json.JacksonJSONSerializer
- of() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.fencedlock.LockName
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxName
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxName
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueueEntryId
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueueName
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.types.CorrelationId
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.types.EventId
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.types.MessageId
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.types.SubscriberId
- of(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.types.TenantId
- of(Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.Message
-
Create a new
Messageand an emptyMessageMetaData - of(Object, MessageMetaData) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.Message
-
Create a new
Message - of(Object, String, long) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.OrderedMessage
-
Create a new
Messageand an emptyMessageMetaData - of(Object, String, long, MessageMetaData) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.OrderedMessage
-
Create a new
Message - of(String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(String, Object, String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(String, Object, String, Object, String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(String, Object, String, Object, String, Object, String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(String, Object, String, Object, String, Object, String, Object, String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(String, Object, String, Object, String, Object, String, Object, String, Object, String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- of(String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object, String, Object) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- ofEntries(Map.Entry<String, String>...) - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- onCleanup() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi.SpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork
- onCleanup() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo.SpringMongoTransactionAwareUnitOfWorkFactory.SpringMongoTransactionAwareUnitOfWork
- onCleanup() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
-
Called on clean up (e.g.
- onLockAcquired(Consumer<FencedLock>) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.LockCallbackBuilder
- onLockReleased(Consumer<FencedLock>) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.LockCallbackBuilder
- onStart() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi.SpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork
- onStart() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo.SpringMongoTransactionAwareUnitOfWorkFactory.SpringMongoTransactionAwareUnitOfWork
- onStart() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
-
Called when the
UnitOfWorkis started.
Here any unit of work related resources (e.g. - optionalFrom(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.types.CorrelationId
-
Converts a non-null
valueto anOptional.of(Object)with argumentCorrelationId, otherwise it returns anOptional.empty() - optionalFrom(CharSequence) - Static method in class dk.cloudcreate.essentials.components.foundation.types.EventId
-
Converts a non-null
valueto anOptional.of(Object)with argumentEventId, otherwise it returns anOptional.empty() - order - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.OrderedMessage
-
Represent the order of the message relative to the
OrderedMessage.key.
All messages sharing the same key, will be delivered according to theirOrderedMessage.order - OrderedMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
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 to - OrderedMessage(Object, String, long) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.OrderedMessage
- OrderedMessage(Object, String, long, MessageMetaData) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.OrderedMessage
- Outbox - Interface in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
-
The
Outboxsupports the transactional Store and Forward pattern from Enterprise Integration Patterns supporting At-Least-Once delivery guarantee.
TheOutboxpattern is used to handle outgoing messages, that are created as a side effect of adding/updating an entity in a database, but where the message infrastructure (such as a Queue, Kafka, EventBus, etc.) that doesn't share the same underlying transactional resource as the database.
Instead, you need to use anOutboxthat can join in the sameUnitOfWork/transactional-resource that the database is using.
The message is added to theOutboxin a transaction/UnitOfWorkand afterwards theUnitOfWorkis committed.
If the transaction fails then both the entity and the message will be rolled back when thenUnitOfWorkrolls back.
After theUnitOfWorkhas been committed, the messages will be asynchronously delivered to the message consumer in a newUnitOfWork.
TheOutboxitself supports Message Redelivery in case the Message consumer experiences failures.
This means that the Message consumer, registered with theOutbox, can and will receive Messages more than once and therefore its message handling has to be idempotent. - OutboxConfig - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- OutboxConfig(OutboxName, RedeliveryPolicy, MessageConsumptionMode, int) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
- OutboxConfigBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- OutboxConfigBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfigBuilder
- Outboxes - Interface in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
-
The
Outboxsupports the transactional Store and Forward pattern from Enterprise Integration Patterns supporting At-Least-Once delivery guarantee.
TheOutboxpattern is used to handle outgoing messages, that are created as a side effect of adding/updating an entity in a database, but where the message infrastructure (such as a Queue, Kafka, EventBus, etc.) that doesn't share the same underlying transactional resource as the database.
Instead, you need to use anOutboxthat can join in the sameUnitOfWork/transactional-resource that the database is using.
The message is added to theOutboxin a transaction/UnitOfWorkand afterwards theUnitOfWorkis committed.
If the transaction fails then both the entity and the message will be rolled back when thenUnitOfWorkrolls back.
After theUnitOfWorkhas been committed, the messages will be asynchronously delivered to the message consumer in a newUnitOfWork.
TheOutboxitself supports Message Redelivery in case the Message consumer experiences failures.
This means that the Message consumer, registered with theOutbox, can and will receive Messages more than once and therefore its message handling has to be idempotent. - Outboxes.DurableQueueBasedOutboxes - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
- outboxName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
-
The name of the outbox
- OutboxName - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
-
The name of an
Outbox - OutboxName(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxName
- outboxQueueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- overrideRandomIdGenerator(Supplier<String>, boolean) - Static method in class dk.cloudcreate.essentials.components.foundation.types.RandomIdGenerator
-
Override the default configured random id generator.
Example:
P
- PatternMatchingMessageHandler - Class in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
-
Pattern matching Consumer<Message> for use with
Inboxes/InboxorOutboxes/Outbox
ThePatternMatchingMessageHandlerwill automatically call methods annotated with the @MessageHandler annotation and where the 1st argument matches the actual Message payload type (contained in theMessage.getPayload()provided to the providedConsumer) - PatternMatchingMessageHandler() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
-
Create an
PatternMatchingMessageHandlerthat can resolve and invoke message handler methods, i.e. - PatternMatchingMessageHandler(Object) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
-
Create an
PatternMatchingMessageHandlerthat can resolve and invoke message handler methods, i.e. - PatternMatchingMessageHandler(Object, List<MessageHandlerInterceptor>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
-
Create an
PatternMatchingMessageHandlerthat can resolve and invoke message handler methods, i.e. - PatternMatchingMessageHandler(List<MessageHandlerInterceptor>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
-
Create an
PatternMatchingMessageHandlerthat can resolve and invoke message handler methods, i.e. - PatternMatchingQueuedMessageHandler - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
Pattern matching
QueuedMessageHandlerfor use withDurableQueues's
ThePatternMatchingQueuedMessageHandlerwill automatically call methods annotated with the @MessageHandler annotation and where the 1st argument matches the actual Message payload type (contained in theMessage.getPayload()provided to theQueuedMessageHandler.handle(QueuedMessage)method) - PatternMatchingQueuedMessageHandler() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.PatternMatchingQueuedMessageHandler
-
Create an
PatternMatchingQueuedMessageHandlerthat can resolve and invoke message handler methods, i.e. - PatternMatchingQueuedMessageHandler(Object) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.PatternMatchingQueuedMessageHandler
-
Create an
PatternMatchingQueuedMessageHandlerthat can resolve and invoke message handler methods, i.e. - pause() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- PostgresqlUtil - Class in dk.cloudcreate.essentials.components.foundation.postgresql
- PostgresqlUtil() - Constructor for class dk.cloudcreate.essentials.components.foundation.postgresql.PostgresqlUtil
- PROCESSED_DEAD_LETTER_MESSAGES_COUNTER_NAME - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- PROCESSED_QUEUED_MESSAGES_COUNTER_NAME - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- PROCESSED_QUEUED_MESSAGES_RETRIES_COUNTER_NAME - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- purgeQueue(PurgeQueue) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Delete all messages (Queued or Dead letter Messages) in the given queue
- purgeQueue(QueueName) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Delete all messages (Queued or Dead letter Messages) in the given queue
- PurgeQueue - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Delete all messages (Queued or Dead letter Messages) in the given queue
Operation also matchesDurableQueuesInterceptor.intercept(PurgeQueue, InterceptorChain) - PurgeQueue(QueueName) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueue
-
Delete all messages (Queued or Dead letter Messages) in the given queue
- PurgeQueueBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
PurgeQueue - PurgeQueueBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueueBuilder
- put(String, String) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- putAll(Map<? extends String, ? extends String>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- putIfAbsent(String, String) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
Q
- queryForMessagesSoonReadyForDelivery(QueueName, int) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Query for the next
maxNumberOfMessagesToReturnqueued messages that are soon ready to be delivered usingInstant.now()aswithNextDeliveryTimestampAfter
This is a useful method for a custom queue consumer to know if it's necessary to callDurableQueues.getNextMessageReadyForDelivery(GetNextMessageReadyForDelivery) - queryForMessagesSoonReadyForDelivery(QueueName, Instant, int) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Query for the next
maxNumberOfMessagesToReturnqueued messages that are soon ready to be delivered
This is a useful method for a custom queue consumer to know if it's necessary to callDurableQueues.getNextMessageReadyForDelivery(GetNextMessageReadyForDelivery) - QUEUE_ENTRY_ID - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- QUEUE_NAME - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- QUEUE_NAME_TAG_NAME - Static variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- QueuedMessage - Interface in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
Represents a
Messagethat has been queued usingQueueMessage/QueueMessages/QueueMessageAsDeadLetterMessage - QueuedMessage.DeliveryMode - Enum Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
- QueuedMessageHandler - Interface in dk.cloudcreate.essentials.components.foundation.messaging.queue
- queueEntryId - Variable in exception dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueException
- queueEntryId - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.AcknowledgeMessageAsHandled
- queueEntryId - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.DeleteMessage
- queueEntryId - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessage
-
The messages unique queue entry id
- queueEntryId - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessage
-
the messages unique queue entry id
- queueEntryId - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessage
- queueEntryId - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessage
- queueEntryId - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
- QueueEntryId - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
The unique entry for a message in a queue.
- QueueEntryId(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueueEntryId
- queueMessage(QueueMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue a message for asynchronous delivery without delay to a
DurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - queueMessage(QueueName, Message) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue a message for asynchronous delivery without delay to a
DurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - queueMessage(QueueName, Message, Exception, Duration) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue a message for asynchronous delivery optional delay to a
DurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - queueMessage(QueueName, Message, Duration) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue a message for asynchronous delivery optional delay to a
DurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - queueMessage(QueueName, Message, Optional<Exception>, Optional<Duration>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue a message for asynchronous delivery optional delay to a
DurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - queueMessage(QueueName, Message, Optional<Duration>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue a message for asynchronous delivery optional delay to a
DurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - QueueMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Queue a message for asynchronous delivery optional delay to a
DurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional
Operation also matchesDurableQueuesInterceptor.intercept(QueueMessage, InterceptorChain) - QueueMessage(QueueName, Message, Exception, Duration) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
-
Queue a message for asynchronous delivery optional delay to a
DurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - QueueMessage(QueueName, Message, Optional<Exception>, Optional<Duration>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
-
Queue a message for asynchronous delivery optional delay to a
DurableQueueConsumer
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - queueMessageAsDeadLetterMessage(QueueMessageAsDeadLetterMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue the message directly as a Dead Letter Message.
- queueMessageAsDeadLetterMessage(QueueName, Message, Exception) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue the message directly as a Dead Letter Message.
- QueueMessageAsDeadLetterMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Queue the message directly as a Dead Letter Message.
- QueueMessageAsDeadLetterMessage(QueueName, Message, Exception) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
-
Queue the message directly as a Dead Letter Message.
- QueueMessageAsDeadLetterMessageBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
QueueMessageAsDeadLetterMessage - QueueMessageAsDeadLetterMessageBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessageBuilder
- QueueMessageBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
QueueMessage - QueueMessageBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
- queueMessageHandler - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
-
The message handler that will receive
QueuedMessage's - queueMessages(QueueMessages) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue multiple messages to the same queue.
- queueMessages(QueueName, List<? extends Message>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue multiple messages to the same queue.
- queueMessages(QueueName, List<? extends Message>, Duration) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue multiple messages to the same queue.
- queueMessages(QueueName, List<? extends Message>, Optional<Duration>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Queue multiple messages to the same queue.
- QueueMessages - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Queue multiple messages to the same queue.
- QueueMessages(QueueName, List<? extends Message>, Duration) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
-
Queue multiple messages to the same queue.
- QueueMessages(QueueName, List<? extends Message>, Optional<Duration>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
-
Queue multiple messages to the same queue.
- QueueMessagesBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
QueueMessages - QueueMessagesBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessagesBuilder
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- queueName - Variable in exception dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueException
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
-
The name of the queue that the consumer will be listening for queued messages ready to be delivered to the
QueuedMessageHandlerprovided - queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDelivery
-
the name of the Queue where we will query for the next message ready for delivery
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalDeadLetterMessagesQueuedFor
-
the name of the Queue where we will query for the number of dead-letter-messages/poison-messages queued for the given queue
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalMessagesQueuedFor
-
the name of the Queue where we will query for the number of queued messages
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueue
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
- queueName - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- queueName() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- queueName() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueueConsumer
- QueueName - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
The name of a Durable Queue
- QueueName(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueueName
- QueuePollingOptimizer - Interface in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
Optimizer designed to work together with the
DefaultDurableQueueConsumer
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. - QueuePollingOptimizer.SimpleQueuePollingOptimizer - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
The
QueuePollingOptimizer.SimpleQueuePollingOptimizersupports extending the polling sleep time (i.e. - queuePollingReturnedMessage(QueuedMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer
- queuePollingReturnedMessage(QueuedMessage) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer.SimpleQueuePollingOptimizer
- queuePollingReturnedNoMessages() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer
- queuePollingReturnedNoMessages() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer.SimpleQueuePollingOptimizer
R
- random() - Static method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueueEntryId
- random() - Static method in class dk.cloudcreate.essentials.components.foundation.types.CorrelationId
- random() - Static method in class dk.cloudcreate.essentials.components.foundation.types.EventId
- random() - Static method in class dk.cloudcreate.essentials.components.foundation.types.MessageId
- random() - Static method in class dk.cloudcreate.essentials.components.foundation.types.SubscriberId
- RandomIdGenerator - Class in dk.cloudcreate.essentials.components.foundation.types
-
RandomId generator that either: Generates UUIDv1 time-based (i.e.
- RandomIdGenerator() - Constructor for class dk.cloudcreate.essentials.components.foundation.types.RandomIdGenerator
- Ready - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkStatus
-
The
UnitOfWorkhas just been created, but not yetUnitOfWorkStatus.Started - redeliveryAttempts - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- redeliveryPolicy - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
-
The message redelivery policy
- redeliveryPolicy - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfig
-
The message redelivery policy
- redeliveryPolicy(RedeliveryPolicy) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfigBuilder
- RedeliveryPolicy - Class in dk.cloudcreate.essentials.components.foundation.messaging
-
In case the message delivery, handled by the
DurableQueueConsumer, experiences an error/exception, then theRedeliveryPolicydetermines, with the aid of theMessageDeliveryErrorHandlerand the provided delivery settings, IF a Message should be retried (DurableQueues.retryMessage(RetryMessage)or if it's going to be marked as a Poison-Message/Dead-Letter-Message (DurableQueues.markAsDeadLetterMessage(MarkAsDeadLetterMessage)) - RedeliveryPolicy(Duration, Duration, double, Duration, int, MessageDeliveryErrorHandler) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- RedeliveryPolicyBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging
- RedeliveryPolicyBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicyBuilder
- registerCallback(LockCallback) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- registerCallback(LockCallback) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
- registerLifecycleCallbackForResource(T, UnitOfWorkLifecycleCallback<T>) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
- registerLifecycleCallbackForResource(T, UnitOfWorkLifecycleCallback<T>) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- registerLifecycleCallbackForResource(T, UnitOfWorkLifecycleCallback<T>) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
-
TODO: Adjust example to the new API Register a resource (e.g.
- release() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- release() - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLock
-
Release/Unlock the lock.
- releaseLock(LOCK) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
-
Internal method only to be called by subclasses of
DBFencedLockManagerandDBFencedLock - releaseLockInDB(DBFencedLockManager<UOW, LOCK>, UOW, LOCK) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Update the database status for the lock as being released
- remove(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- remove(Object, Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- removeChangeNotificationTriggerFromTable(Handle, String) - Static method in class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify
-
Remove Table change notification
FUNCTIONand an AFTERTRIGGERto the given Table in order to support the classical Postgresql LISTEN/NOTIFY concept. - removeInterceptor(MessageHandlerInterceptor) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
- removeInterceptor(DurableQueuesInterceptor) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
- replace(String, String) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- replace(String, String, String) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- replaceAll(BiFunction<? super String, ? super String, ? extends String>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- resolvedInvokeMethodWithArgumentOfType - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.operation.InvokeMessageHandlerMethod
- resolveTableChangeChannelName(String) - Static method in class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify
-
Resolve the Postgresql LISTEN/NOTIFY channel name used to communicate each notification related to the changes that we NOTIFY, based on the
ListenNotify.addChangeNotificationTriggerToTable(Handle, String, List, String...)setup. - resolveUnitOfWorkType() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo.SpringMongoTransactionAwareUnitOfWorkFactory
- resolveUnitOfWorkType() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
- restoreTraceContext(QueuedMessage, String) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- resume() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- resurrectDeadLetterMessage(ResurrectDeadLetterMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Resurrect a Dead Letter Message for redelivery after the specified
deliveryDelay
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - resurrectDeadLetterMessage(QueueEntryId, Duration) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Resurrect a Dead Letter Message for redelivery after the specified
deliveryDelay
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - ResurrectDeadLetterMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Resurrect a Dead Letter Message for redelivery after the specified
deliveryDelay
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional
Operation also matchesDurableQueuesInterceptor.intercept(ResurrectDeadLetterMessage, InterceptorChain) - ResurrectDeadLetterMessage(QueueEntryId, Duration) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessage
-
Resurrect a Dead Letter Message for redelivery after the specified
deliveryDelay
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - ResurrectDeadLetterMessageBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
ResurrectDeadLetterMessage - ResurrectDeadLetterMessageBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessageBuilder
- retryMessage(RetryMessage) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Schedule the message for redelivery after the specified
deliveryDelay(called by theDurableQueueConsumer)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - retryMessage(QueueEntryId, Exception, Duration) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues
-
Schedule the message for redelivery after the specified
deliveryDelay(called by theDurableQueueConsumer)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - RetryMessage - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Schedule the message for redelivery after the specified
deliveryDelay(called by theDurableQueueConsumer)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional
Operation also matchesDurableQueuesInterceptor.intercept(RetryMessage, InterceptorChain) - RetryMessage(QueueEntryId, Exception, Duration) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
-
Schedule the message for redelivery after the specified
deliveryDelay(called by theDurableQueueConsumer)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional - RetryMessageBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
RetryMessage - RetryMessageBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessageBuilder
- rollback() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
-
Roll back the
UnitOfWorkand any underlying transaction - seeUnitOfWorkStatus.RolledBack - rollback(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
- rollback(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- rollback(Exception) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
-
Roll back the
UnitOfWorkand any underlying transaction - seeUnitOfWorkStatus.RolledBack - RolledBack - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkStatus
-
The
UnitOfWorkhas been rolled back
S
- sendAndDontWait(C) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- sendAndDontWait(C, Duration) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- sendMessage(Message) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Send a message asynchronously.
This message will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case no there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumer - sendMessage(Message) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- sendMessage(Object) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Send a message (without meta-data) asynchronously.
This message will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case no there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumer - sendMessage(Object, MessageMetaData) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Send a message (with meta-data) asynchronously.
This message will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case no there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumer - serialize(Object) - Method in class dk.cloudcreate.essentials.components.foundation.json.JacksonJSONSerializer
- serialize(Object) - Method in interface dk.cloudcreate.essentials.components.foundation.json.JSONSerializer
-
Serialize the object to JSON
- serializeAsBytes(Object) - Method in class dk.cloudcreate.essentials.components.foundation.json.JacksonJSONSerializer
- serializeAsBytes(Object) - Method in interface dk.cloudcreate.essentials.components.foundation.json.JSONSerializer
-
Serialize the object to JSON
- setAllowUnmatchedMessages(boolean) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.PatternMatchingMessageHandler
-
Should the event handler allow unmatched
Message.getPayload()? If true then an unmatchedMessage.getPayload()is ignored, if false (the default value) then an unmatched event will causePatternMatchingMessageHandler.handleUnmatchedMessage(Message)will throw anIllegalArgumentException - setAllowUnmatchedMessages(boolean) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.PatternMatchingQueuedMessageHandler
-
Should the event handler allow unmatched
Message.getPayload()? If true then an unmatchedMessage.getPayload()is ignored, if false (the default value) then an unmatched event will causePatternMatchingQueuedMessageHandler.handleUnmatchedMessage(QueuedMessage)will throw anIllegalArgumentException - setCauseForBeingMarkedAsDeadLetter(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessage
- setCauseForBeingMarkedAsDeadLetter(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessageBuilder
- setCauseForRetry(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
- setCauseForRetry(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessageBuilder
- setCauseOfEnqueuing(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- setCauseOfEnqueuing(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
- setCauseOfEnqueuing(Optional<Exception>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- setCauseOfEnqueuing(Optional<Exception>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
- setCauseOfError(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
- setCauseOfError(Exception) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessageBuilder
- setCommandQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
-
Set the name of the
DurableQueuesthat will be used queuing commands sent usingDurableLocalCommandBus.sendAndDontWait(Object)
Defaults toDurableLocalCommandBus.DEFAULT_COMMAND_QUEUE_NAME - setCommandQueueRedeliveryPolicy(RedeliveryPolicy) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
-
Set the
RedeliveryPolicyused when handling queued commands sent usingDurableLocalCommandBus.sendAndDontWait(Object)Defaults toDurableLocalCommandBus.DEFAULT_REDELIVERY_POLICY.
Example: - setConsumerExecutorService(ScheduledExecutorService) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueueBuilder
- setConsumerName(String) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueueBuilder
- setDeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- setDeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
- setDeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- setDeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessagesBuilder
- setDeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessage
- setDeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessageBuilder
- setDeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
- setDeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessageBuilder
- setDeliveryDelay(Optional<Duration>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- setDeliveryDelay(Optional<Duration>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
- setDeliveryDelay(Optional<Duration>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- setDeliveryDelay(Optional<Duration>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessagesBuilder
- setDeliveryErrorHandler(MessageDeliveryErrorHandler) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.ExponentialBackoffBuilder
- setDeliveryErrorHandler(MessageDeliveryErrorHandler) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.FixedBackoffBuilder
- setDeliveryErrorHandler(MessageDeliveryErrorHandler) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.LinearBackoffBuilder
- setDeliveryErrorHandler(MessageDeliveryErrorHandler) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicyBuilder
- setDurableQueueConsumer(DurableQueueConsumer) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.StopConsumingFromQueueBuilder
- setDurableQueues(DurableQueues) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueuesInterceptor
-
This method will be called by the
DurableQueuesinstance that theDurableQueuesInterceptoris added to - setDurableQueues(DurableQueues) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerInterceptor
- setDurableQueues(DurableQueues) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- setDurableQueues(DurableQueues) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
-
Set the underlying Durable Queues provider
- setExcludeOrderedMessagesWithKey(Collection<String>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDeliveryBuilder
- setFollowupRedeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.ExponentialBackoffBuilder
- setFollowupRedeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicyBuilder
- setFollowupRedeliveryDelayMultiplier(double) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.ExponentialBackoffBuilder
- setFollowupRedeliveryDelayMultiplier(double) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicyBuilder
- setInitialRedeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.ExponentialBackoffBuilder
- setInitialRedeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicyBuilder
- setInterceptors(CommandBusInterceptor...) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
-
Set all the
CommandBusInterceptor's to use - setInterceptors(List<CommandBusInterceptor>) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
-
Set all the
CommandBusInterceptor's to use - setMaximumFollowupRedeliveryDelayThreshold(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.ExponentialBackoffBuilder
- setMaximumFollowupRedeliveryDelayThreshold(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.LinearBackoffBuilder
- setMaximumFollowupRedeliveryDelayThreshold(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicyBuilder
- setMaximumNumberOfRedeliveries(int) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.ExponentialBackoffBuilder
- setMaximumNumberOfRedeliveries(int) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.FixedBackoffBuilder
- setMaximumNumberOfRedeliveries(int) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.LinearBackoffBuilder
- setMaximumNumberOfRedeliveries(int) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicyBuilder
- setMessage(Message) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- setMessage(Message) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
- setMessage(Message) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessageBuilder
- setMessage(Message) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
- setMessageConsumer(Consumer<Message>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Set the message consumer.
- setMessageConsumer(Consumer<Message>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- setMessageConsumer(Consumer<Message>) - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Set the message consumer.
- setMessageConsumer(Consumer<Message>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- setMessageConsumptionMode(MessageConsumptionMode) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfigBuilder
- setMessages(List<Message>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- setMessages(List<Message>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessagesBuilder
- setMetaData(MessageMetaData) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessageBuilder
- setMetaData(MessageMetaData) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
- setNumberOfParallelMessageConsumers(int) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfigBuilder
- setOutboxName(OutboxName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfigBuilder
- setPageSize(long) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
- setPageSize(long) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessagesBuilder
- setPageSize(long) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
- setPageSize(long) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessagesBuilder
- setParallelConsumers(int) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueueBuilder
- setParallelSendAndDontWaitConsumers(int) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
-
Set how many parallel
DurableQueuesconsumers should listen for messages added usingCommandBus.sendAndDontWait(Object)/CommandBus.sendAndDontWait(Object, Duration)
Defaults to 10 - setPayload(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessageBuilder
- setPayload(Object) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
- setPollingInterval(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueueBuilder
- setQueueEntryId(QueueEntryId) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.AcknowledgeMessageAsHandledBuilder
- setQueueEntryId(QueueEntryId) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.DeleteMessageBuilder
- setQueueEntryId(QueueEntryId) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessageBuilder
- setQueueEntryId(QueueEntryId) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessageBuilder
- setQueueEntryId(QueueEntryId) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessageBuilder
- setQueueEntryId(QueueEntryId) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessageBuilder
- setQueueEntryId(QueueEntryId) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessageBuilder
- setQueueingSortOrder(DurableQueues.QueueingSortOrder) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
- setQueueingSortOrder(DurableQueues.QueueingSortOrder) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessagesBuilder
- setQueueingSortOrder(DurableQueues.QueueingSortOrder) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
- setQueueingSortOrder(DurableQueues.QueueingSortOrder) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessagesBuilder
- setQueueMessageHandler(QueuedMessageHandler) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueueBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueueBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessagesBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDeliveryBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessagesBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalDeadLetterMessagesQueuedForBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalMessagesQueuedForBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueueBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessageBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageBuilder
- setQueueName(QueueName) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessagesBuilder
- setRedeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.FixedBackoffBuilder
- setRedeliveryDelay(Duration) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.LinearBackoffBuilder
- setRedeliveryPolicy(RedeliveryPolicy) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.OutboxConfigBuilder
- setRedeliveryPolicy(RedeliveryPolicy) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- setRedeliveryPolicy(RedeliveryPolicy) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueueBuilder
- setSendAndDontWaitErrorHandler(SendAndDontWaitErrorHandler) - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBusBuilder
-
Set the Exception handler that will handle errors that occur during
CommandBus.sendAndDontWait(Object)/CommandBus.sendAndDontWait(Object, Duration). - setStartIndex(long) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
- setStartIndex(long) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessagesBuilder
- setStartIndex(long) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
- setStartIndex(long) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessagesBuilder
- shouldSkipPolling() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer
- shouldSkipPolling() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer.SimpleQueuePollingOptimizer
- SimpleQueuePollingOptimizer(ConsumeFromQueue, long, long) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer.SimpleQueuePollingOptimizer
-
Create a new
QueuePollingOptimizer.SimpleQueuePollingOptimizer - SingleGlobalConsumer - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.MessageConsumptionMode
-
Only a single consumer instance in a cluster will be allowed to consume messages at a time (supports failover if the given consumer is shutdown or crashes)
- SingleOperationTransaction - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.TransactionalMode
-
Useful for long-running message handling, you can choose to configure the
DurableQueuesto only require single operation (such asDurableQueues.getNextMessageReadyForDelivery(GetNextMessageReadyForDelivery),DurableQueues.deleteMessage(DeleteMessage), etc.) as well as for certain NoSQL databases, such as MongoDB/DocumentDB, that have limitations when performing multiple data storage operations within a transaction.
For these cases you can configure theTransactionalModeasTransactionalMode.SingleOperationTransactionwhere queueing and de-queueing are performed using separate (single document) transactions and where acknowledging/retry is performed as a separate transaction.
During queueing if there is an existingUnitOfWorkin progress, then the queue operation will join the existingUnitOfWork
The advantage of this transactional mode is that any explicitUnitOfWork.markAsRollbackOnly()/UnitOfWork.markAsRollbackOnly(Exception), either directly our through e.g. - size() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- SpringMongoTransactionAwareUnitOfWork(SpringTransactionAwareUnitOfWorkFactory<MongoTransactionManager, SpringMongoTransactionAwareUnitOfWorkFactory.SpringMongoTransactionAwareUnitOfWork>) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo.SpringMongoTransactionAwareUnitOfWorkFactory.SpringMongoTransactionAwareUnitOfWork
- SpringMongoTransactionAwareUnitOfWork(SpringTransactionAwareUnitOfWorkFactory<MongoTransactionManager, SpringMongoTransactionAwareUnitOfWorkFactory.SpringMongoTransactionAwareUnitOfWork>, TransactionStatus) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo.SpringMongoTransactionAwareUnitOfWorkFactory.SpringMongoTransactionAwareUnitOfWork
- SpringMongoTransactionAwareUnitOfWorkFactory - Class in dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo
- SpringMongoTransactionAwareUnitOfWorkFactory(MongoTransactionManager, MongoDatabaseFactory) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo.SpringMongoTransactionAwareUnitOfWorkFactory
- SpringMongoTransactionAwareUnitOfWorkFactory.SpringMongoTransactionAwareUnitOfWork - Class in dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo
- SpringTransactionAwareHandleAwareUnitOfWork(SpringTransactionAwareUnitOfWorkFactory<PlatformTransactionManager, SpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork>) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi.SpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork
- SpringTransactionAwareHandleAwareUnitOfWork(SpringTransactionAwareUnitOfWorkFactory<PlatformTransactionManager, SpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork>, TransactionStatus) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi.SpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork
- SpringTransactionAwareJdbiUnitOfWorkFactory - Class in dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi
-
A
SpringTransactionAwareUnitOfWorkFactoryversion of theHandleAwareUnitOfWorkFactorywhich supports the standardHandleAwareUnitOfWorkusingJdbi - SpringTransactionAwareJdbiUnitOfWorkFactory(Jdbi, PlatformTransactionManager) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi.SpringTransactionAwareJdbiUnitOfWorkFactory
- SpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork - Class in dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi
- SpringTransactionAwareUnitOfWork<TRX_MGR extends org.springframework.transaction.PlatformTransactionManager,
UOW extends SpringTransactionAwareUnitOfWork<TRX_MGR, UOW>> - Class in dk.cloudcreate.essentials.components.foundation.transaction.spring -
Spring transaction-aware
UnitOfWork
Specializations can choose to overrideSpringTransactionAwareUnitOfWork.onStart()to initialize any datastore specific resources (e.g. - SpringTransactionAwareUnitOfWork(SpringTransactionAwareUnitOfWorkFactory<TRX_MGR, UOW>) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- SpringTransactionAwareUnitOfWork(SpringTransactionAwareUnitOfWorkFactory<TRX_MGR, UOW>, TransactionStatus) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- SpringTransactionAwareUnitOfWorkFactory<TRX_MGR extends org.springframework.transaction.PlatformTransactionManager,
UOW extends SpringTransactionAwareUnitOfWork<TRX_MGR, UOW>> - Class in dk.cloudcreate.essentials.components.foundation.transaction.spring -
Variant of the
UnitOfWorkFactorywhich can delegate the creation of the underlying transaction to the providedPlatformTransactionManagerinstance.
TheUnitOfWorktype specialization needs to extendSpringTransactionAwareUnitOfWork - SpringTransactionAwareUnitOfWorkFactory(TRX_MGR) - Constructor for class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
- SQL_OPERATION - Static variable in class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify
- SqlExecutionTimeLogger - Class in dk.cloudcreate.essentials.components.foundation.postgresql
-
Log the execution time for SQL statements
- SqlExecutionTimeLogger() - Constructor for class dk.cloudcreate.essentials.components.foundation.postgresql.SqlExecutionTimeLogger
- start() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- start() - Method in interface dk.cloudcreate.essentials.components.foundation.Lifecycle
-
Start the processing.
- start() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- start() - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- start() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
- start() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- start() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
-
Start the
UnitOfWorkand any underlying transaction - startConsuming() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Start consuming messages from the
Inbox. - startConsuming() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- startConsuming() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Start consuming messages from the
Outbox. - startConsuming() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- Started - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkStatus
-
The
UnitOfWorkhas been started (i.e. - status() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.jdbi.GenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork
- status() - Method in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- status() - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
-
Get the status of the
UnitOfWork - stop() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- stop() - Method in interface dk.cloudcreate.essentials.components.foundation.Lifecycle
-
Stop the processing.
- stop() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- stop() - Method in class dk.cloudcreate.essentials.components.foundation.reactive.command.DurableLocalCommandBus
- stopConsuming() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Stop consuming messages from the
Inbox. - stopConsuming() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- stopConsuming() - Method in interface dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Stop consuming messages from the
Outbox. - stopConsuming() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- StopConsumingFromQueue - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Stop an asynchronous message consumer.
Is initiated whenDurableQueueConsumer.cancel()is called Operation also matchesDurableQueuesInterceptor.intercept(StopConsumingFromQueue, InterceptorChain) - StopConsumingFromQueue(DurableQueueConsumer) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.StopConsumingFromQueue
-
Stop an asynchronous message consumer.
- StopConsumingFromQueueBuilder - Class in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
-
Builder for
StopConsumingFromQueue - StopConsumingFromQueueBuilder() - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.StopConsumingFromQueueBuilder
- stopRedeliveryOn(Class<? extends Exception>...) - Static method in interface dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler
-
Create a
MessageDeliveryErrorHandlerthat stops message redelivery in case message handling experiences an exception for in the array ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e. - stopRedeliveryOn(Class<? extends Exception>...) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandlerBuilder
-
The resulting
MessageDeliveryErrorHandlerwill stop message redelivery in case message handling experiences an exception for in the list ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e. - stopRedeliveryOn(List<Class<? extends Exception>>) - Static method in interface dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler
-
Create a
MessageDeliveryErrorHandlerthat stops message redelivery in case message handling experiences an exception for in the list ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e. - stopRedeliveryOn(List<Class<? extends Exception>>) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandlerBuilder
-
The resulting
MessageDeliveryErrorHandlerwill stop message redelivery in case message handling experiences an exception for in the list ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e. - StopRedeliveryOn(List<Class<? extends Exception>>) - Constructor for class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler.StopRedeliveryOn
- storeTraceContext(MessageMetaData) - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.micrometer.DurableQueuesMicrometerTracingInterceptor
- SubscriberId - Class in dk.cloudcreate.essentials.components.foundation.types
-
A subscriber id is used to uniquely identify an event subscriber
- SubscriberId(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.types.SubscriberId
- syncAcquireLockPauseIntervalMs - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
-
DBFencedLockManager.tryAcquireLock(LockName)/DBFencedLockManager.tryAcquireLock(LockName, Duration)andDBFencedLockManager.acquireLock(LockName)pause interval between retries
T
- TABLE_NAME - Static variable in class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify
- TableChangeNotification - Class in dk.cloudcreate.essentials.components.foundation.postgresql
-
Represents a base notification, which is a change to a given table caused by a specific
ListenNotify.SqlOperation - TableChangeNotification() - Constructor for class dk.cloudcreate.essentials.components.foundation.postgresql.TableChangeNotification
- TableChangeNotification(String, ListenNotify.SqlOperation) - Constructor for class dk.cloudcreate.essentials.components.foundation.postgresql.TableChangeNotification
- Tenant - Interface in dk.cloudcreate.essentials.components.foundation.types
-
Marker interface for types that are used to distinguish between Tenant specific data in a data store.
A tenant can be as simple as aSingleValueTypeor it can be more complex such as including both Tenant-Id and aCountryCodedenoting the country where the Tenant data is owned.
The serialization of the tenant is always theObject.toString()value, and it is deserialized by using a default single string argument constructor - TenantId - Class in dk.cloudcreate.essentials.components.foundation.types
-
Simple single value
Tenantidentifier - TenantId(CharSequence) - Constructor for class dk.cloudcreate.essentials.components.foundation.types.TenantId
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLock
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.FencedLockManagerStarted
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.FencedLockManagerStopped
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockAcquired
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockConfirmed
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockEvents.LockReleased
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.InboxConfig
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.operation.InvokeMessageHandlerMethod
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler.AlwaysRetry
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler.NeverRetry
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandler.StopRedeliveryOn
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandlerBuilder
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultDurableQueueConsumer
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.Message
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.NextQueuedMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.AcknowledgeMessageAsHandled
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.DeleteMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessages
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetNextMessageReadyForDelivery
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessages
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalDeadLetterMessagesQueuedFor
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalMessagesQueuedFor
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueue
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessageAsDeadLetterMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.StopConsumingFromQueue
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.OrderedMessage
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuePollingOptimizer.SimpleQueuePollingOptimizer
- toString() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.RedeliveryPolicy
- totalDeliveryAttempts - Variable in class dk.cloudcreate.essentials.components.foundation.messaging.queue.DefaultQueuedMessage
- TransactionalMode - Enum Class in dk.cloudcreate.essentials.components.foundation.messaging.queue
-
The transactional behaviour mode of a
DurableQueues. - transactionManager - Variable in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
- TRUNCATE - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify.SqlOperation
- tryAcquireLock(LockName) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- tryAcquireLock(LockName) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Try to acquire the lock using this Lock Manager instance
- tryAcquireLock(LockName, Duration) - Method in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- tryAcquireLock(LockName, Duration) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockManager
-
Try to acquire the lock on this JVM Node
U
- UnitOfWork - Interface in dk.cloudcreate.essentials.components.foundation.transaction
- UnitOfWorkControllingCommandBusInterceptor - Class in dk.cloudcreate.essentials.components.foundation.reactive.command
-
CommandBusInterceptorthat ensures that each Command is handled within aUnitOfWorkby using theUnitOfWorkFactory.withUnitOfWork(CheckedFunction) - UnitOfWorkControllingCommandBusInterceptor(UnitOfWorkFactory<? extends UnitOfWork>) - Constructor for class dk.cloudcreate.essentials.components.foundation.reactive.command.UnitOfWorkControllingCommandBusInterceptor
- UnitOfWorkException - Exception in dk.cloudcreate.essentials.components.foundation.transaction
-
Represents an Exception that occurred in relation to a
UnitOfWork - UnitOfWorkException() - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkException
- UnitOfWorkException(String) - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkException
- UnitOfWorkException(String, Throwable) - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkException
- UnitOfWorkException(String, Throwable, boolean, boolean) - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkException
- UnitOfWorkException(Throwable) - Constructor for exception dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkException
- unitOfWorkFactory - Variable in class dk.cloudcreate.essentials.components.foundation.fencedlock.DBFencedLockManager
- unitOfWorkFactory - Variable in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- UnitOfWorkFactory<UOW extends UnitOfWork> - Interface in dk.cloudcreate.essentials.components.foundation.transaction
-
This interface creates a
UnitOfWork - UnitOfWorkLifecycleCallback<RESOURCE_TYPE> - Interface in dk.cloudcreate.essentials.components.foundation.transaction
-
Callback that can be registered with a
UnitOfWorkin relation to one of more Resources (can e.g. - unitOfWorkLifecycleCallbackResources - Variable in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWork
- unitOfWorkLog - Static variable in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory
- UnitOfWorkStatus - Enum Class in dk.cloudcreate.essentials.components.foundation.transaction
-
The status of a
UnitOfWork - unitOfWorkType - Variable in class dk.cloudcreate.essentials.components.foundation.transaction.spring.SpringTransactionAwareUnitOfWorkFactory
-
The class representation of the
UOWgeneric type parameter.
TheUnitOfWorkis bound a resource with theTransactionSynchronizationManagerusing theSpringTransactionAwareUnitOfWorkFactory.unitOfWorkTypeclass as key. - unlistenToNotificationsFor(String) - Method in class dk.cloudcreate.essentials.components.foundation.postgresql.MultiTableChangeListener
-
Stop listening for notifications related to changes to the given table
- UPDATE - Enum constant in enum class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify.SqlOperation
- updateLockInDB(DBFencedLockManager<UOW, LOCK>, UOW, LOCK, LOCK) - Method in interface dk.cloudcreate.essentials.components.foundation.fencedlock.FencedLockStorage
-
Update the lock in the DB.
- usingUnitOfWork(CheckedConsumer<UOW>) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory
-
Run the
unitOfWorkConsumerin aUnitOfWork
It works in two different ways:
1.
If no existingUnitOfWorkthen a newUnitOfWorkis created and started, theunitOfWorkConsumeris called with thisUnitOfWork
When theunitOfWorkConsumerhas completed, without throwing an exception, then the createdUnitOfWorkis committed.
In case an exception was thrown then the createdUnitOfWorkis rolledback.
2.
If there's already an existingUnitOfWorkthen theunitOfWorkConsumerjoins in with existingUnitOfWorkand theunitOfWorkConsumeris called with the existingUnitOfWork
When theunitOfWorkConsumerhas completed, without throwing an exception, then the existingUnitOfWorkis NOT committed, this is instead left to the original creator of theUnitOfWorkto do
In case an exception was thrown then the existingUnitOfWorkis marked as rollback only. - usingUnitOfWork(CheckedRunnable) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory
-
Works just like
UnitOfWorkFactory.usingUnitOfWork(CheckedConsumer)except the action isn't provided an instance of theUnitOfWork
The code in the action can always access theUnitOfWorkby callingUnitOfWorkFactory.getRequiredUnitOfWork()
V
- validate() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ConsumeFromQueue
- validate() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessage
- validate() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.QueueMessages
- validate() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessage
- validate() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.RetryMessage
- valueOf(String) - Static method in enum class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.MessageConsumptionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues.QueueingSortOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage.DeliveryMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.TransactionalMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify.SqlOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.MessageConsumptionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.DurableQueues.QueueingSortOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class dk.cloudcreate.essentials.components.foundation.messaging.queue.MessageMetaData
- values() - Static method in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.QueuedMessage.DeliveryMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dk.cloudcreate.essentials.components.foundation.messaging.queue.TransactionalMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify.SqlOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withUnitOfWork(CheckedFunction<UOW, R>) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory
-
Run the
unitOfWorkFunctionin aUnitOfWork
It works in two different ways:
1.
If no existingUnitOfWorkthen a newUnitOfWorkis created and started, theunitOfWorkFunctionis called with thisUnitOfWork
When theunitOfWorkFunctionhas completed, without throwing an exception, then the createdUnitOfWorkis committed.
In case an exception was thrown then the createdUnitOfWorkis rolledback.
2.
If there's already an existingUnitOfWorkthen theunitOfWorkFunctionjoins in with existingUnitOfWorkand theunitOfWorkFunctionis called with the existingUnitOfWork
When theunitOfWorkFunctionhas completed, without throwing an exception, then the existingUnitOfWorkis NOT committed, this is instead left to the original creator of theUnitOfWorkto do
In case an exception was thrown then the existingUnitOfWorkis marked as rollback only. - withUnitOfWork(CheckedSupplier<R>) - Method in interface dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWorkFactory
-
Works just like
UnitOfWorkFactory.withUnitOfWork(CheckedFunction)except the action isn't provided an instance of theUnitOfWork
The code in the action can always access theUnitOfWorkby callingUnitOfWorkFactory.getRequiredUnitOfWork()
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form