Package io.aleph0.yap.messaging.core
package io.aleph0.yap.messaging.core
-
ClassDescriptionA listener that is notified when an acknowledgement or negative acknowledgement is complete.AcknowledgerConsumerWorker<T extends Acknowledgeable>A
ProcessorWorkerthat receives inputs from upstream, acknowledges the input, and then discards the input.Allows the user to customize the behavior of the worker when an acknowledgement fails.FirehoseProducerWorker<OutputT extends Acknowledgeable>Message<T>RelayProcessorWorker<ValueT>AProcessorWorkerthat implements a gating "split-join" pattern over messages: Each input message is passed through asplitterFunctionthat produces zero or more output messages. If the splitter produces no messages, the input message (after mapping) is forwarded immediately downstream. If the splitter produces one or more messages, the input message is held back. The split messages are sent downstream immediately and tracked for acknowledgement. Once all split messages are acknowledged (acked or nacked), the original message (after mapping) is released downstream.