Uses of Interface
dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Outbox
-
Packages that use Outbox Package Description dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward -
-
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 Outbox Modifier and Type Class Description classOutboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutboxMethods in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward that return Outbox Modifier and Type Method Description OutboxOutbox. consume(Consumer<Message> messageConsumer)Start 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)OutboxOutboxes.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.OutboxOutboxes.DurableQueueBasedOutboxes. getOrCreateOutbox(OutboxConfig outboxConfig)OutboxOutboxes.DurableQueueBasedOutboxes. getOrCreateOutbox(OutboxConfig outboxConfig, Consumer<Message> messageConsumer)OutboxOutboxes. getOrCreateOutbox(OutboxConfig outboxConfig)Get an existingOutboxinstance or create a new instance.OutboxOutboxes. getOrCreateOutbox(OutboxConfig outboxConfig, Consumer<Message> messageConsumer)Get an existingOutboxinstance or create a new instance.OutboxOutbox. 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 no 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 no 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 no there isn't an activeUnitOfWork).
The message will be delivered asynchronously to the message consumerOutboxOutboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox. sendMessage(Message payload)OutboxOutbox. setMessageConsumer(Consumer<Message> messageConsumer)Set the message consumer.OutboxOutboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox. setMessageConsumer(Consumer<Message> messageConsumer)OutboxOutbox. startConsuming()Start consuming messages from theOutbox.OutboxOutboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox. startConsuming()OutboxOutbox. stopConsuming()Stop consuming messages from theOutbox.OutboxOutboxes.DurableQueueBasedOutboxes.DurableQueueBasedOutbox. stopConsuming()Methods in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward that return types with arguments of type Outbox Modifier and Type Method Description Collection<Outbox>Outboxes.DurableQueueBasedOutboxes. getOutboxes()Collection<Outbox>Outboxes. getOutboxes()
-