Uses of Interface
dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
Packages that use Outbox
-
Uses of Outbox in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward
Classes in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward that implement OutboxModifier and TypeClassDescriptionclassMethods in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward that return OutboxModifier and TypeMethodDescriptionStart consuming messages from the Outbox using the provided message consumer.
This is the same as callingsetMessageConsumer(Consumer)followed bystartConsuming()
Only needs to be called if the instance was created without a message consumer such as viaOutboxes.getOrCreateOutbox(OutboxConfig)Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox.consume(Consumer<Message> messageConsumer) default OutboxOutboxes.getOrCreateForwardingOutbox(OutboxConfig outboxConfig, dk.cloudcreate.essentials.reactive.EventHandler eventHandler) Get an existingOutboxinstance 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. have the same values)Outboxes.DurableQueueBasedOutboxes.getOrCreateOutbox(OutboxConfig outboxConfig) Outboxes.DurableQueueBasedOutboxes.getOrCreateOutbox(OutboxConfig outboxConfig, Consumer<Message> messageConsumer) Outboxes.getOrCreateOutbox(OutboxConfig outboxConfig) Get an existingOutboxinstance or create a new instance.Outboxes.getOrCreateOutbox(OutboxConfig outboxConfig, Consumer<Message> messageConsumer) Get an existingOutboxinstance or create a new instance.Outbox.sendMessage(Message message) 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 there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumerOutbox.sendMessage(Message message, Duration deliveryDelay) Send a message asynchronously and where the message should be delivered later.
This message will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumerdefault OutboxOutbox.sendMessage(Object payload) 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 there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumerdefault OutboxOutbox.sendMessage(Object payload, MessageMetaData metaData) 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 there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumerdefault OutboxOutbox.sendMessage(Object payload, MessageMetaData metaData, Duration deliveryDelay) Send a message (with meta-data) asynchronously and where the message should be delivered later.
This message will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumerdefault OutboxOutbox.sendMessage(Object payload, Duration deliveryDelay) Send a message (without meta-data) asynchronously and where the message should be delivered later.
This message will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumerOutboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox.sendMessage(Message payload) Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox.sendMessage(Message payload, Duration deliveryDelay) default OutboxOutbox.sendMessageList(List<? extends Object> payloads) Send a list of message payloads.default OutboxOutbox.sendMessageList(List<? extends Object> payloads, Duration deliveryDelay) Send a list of message payloads with delayed delivery.Outbox.sendMessages(List<Message> messages) Send a list of messages
These messages will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case there isn't an activeUnitOfWork).
The messages will be delivered asynchronously to the message consumerOutbox.sendMessages(List<Message> messages, Duration deliveryDelay) Send a list of messages with delayed delivery
These messages will be stored durably (without any duplication check) in connection with the currently activeUnitOfWork(or a newUnitOfWorkwill be created in case there isn't an activeUnitOfWork).
The messages will be delivered asynchronously to the message consumerOutboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox.sendMessages(List<Message> messages) Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox.sendMessages(List<Message> messages, Duration deliveryDelay) Outbox.setMessageConsumer(Consumer<Message> messageConsumer) Set the message consumer.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox.setMessageConsumer(Consumer<Message> messageConsumer) Outbox.startConsuming()Start consuming messages from theOutbox.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox.startConsuming()Outbox.stopConsuming()Stop consuming messages from theOutbox.Outboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox.stopConsuming()Methods in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward that return types with arguments of type OutboxModifier and TypeMethodDescriptionOutboxes.DurableQueueBasedOutboxes.getOutboxes()Outboxes.getOutboxes()