@FunctionalInterface public static interface ConsumerFlowStrategy.MessageProcessedCallback
MessageHandler.Context.processed() calls.| Modifier and Type | Method and Description |
|---|---|
void |
processed(MessageHandler.Context messageContext)
Method called when
MessageHandler.Context.processed() is called. |
void processed(MessageHandler.Context messageContext)
MessageHandler.Context.processed() is called.
There is one instance of this class for a given chunk and it is called for the
processed() calls of the message of this chunk.
Implementations can count messages and call ConsumerFlowStrategy.Context.credits(int) when appropriate.
Note calls to MessageHandler.Context.processed() are not idempotent: an
application can call the method several times for the same message and implementations must
deal with these multiple calls if they impact their logic.
messageContext - context of the messageCopyright © 2024 Broadcom Inc. and/or its subsidiaries. All rights reserved.