Uses of Interface
dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward.Inbox
-
Packages that use Inbox Package Description dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward -
-
Uses of Inbox 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 Inbox Modifier and Type Class Description classInboxes.DurableQueueBasedInboxes.DurableQueueBasedInboxMethods in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward that return Inbox Modifier and Type Method Description InboxInbox. addMessageReceived(Message message)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 consumerdefault InboxInbox. addMessageReceived(Object payload)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 consumerdefault InboxInbox. addMessageReceived(Object payload, MessageMetaData metaData)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 consumerInboxInboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox. addMessageReceived(Message message)InboxInbox. consume(Consumer<Message> messageConsumer)Start consuming messages from the Inbox 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 viaInboxes.getOrCreateInbox(InboxConfig)InboxInboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox. consume(Consumer<Message> messageConsumer)InboxInboxes.DurableQueueBasedInboxes. getOrCreateInbox(InboxConfig inboxConfig)InboxInboxes.DurableQueueBasedInboxes. getOrCreateInbox(InboxConfig inboxConfig, Consumer<Message> messageConsumer)InboxInboxes. getOrCreateInbox(InboxConfig inboxConfig)Get an existingInboxinstance or create a new instance.default InboxInboxes. getOrCreateInbox(InboxConfig inboxConfig, dk.cloudcreate.essentials.reactive.command.CommandBus forwardTo)Get an existingInboxinstance or create a new instance.InboxInboxes. getOrCreateInbox(InboxConfig inboxConfig, Consumer<Message> messageConsumer)Get an existingInboxinstance or create a new instance.InboxInbox. setMessageConsumer(Consumer<Message> messageConsumer)Set the message consumer.InboxInboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox. setMessageConsumer(Consumer<Message> messageConsumer)InboxInbox. startConsuming()Start consuming messages from theInbox.InboxInboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox. startConsuming()InboxInbox. stopConsuming()Stop consuming messages from theInbox.InboxInboxes.DurableQueueBasedInboxes.DurableQueueBasedInbox. stopConsuming()Methods in dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward that return types with arguments of type Inbox Modifier and Type Method Description Collection<Inbox>Inboxes.DurableQueueBasedInboxes. getInboxes()Collection<Inbox>Inboxes. getInboxes()
-