public interface TemporaryMessageProcessor
TemporaryMessage
which is invoked
during the async handling of the messages.Modifier and Type | Field and Description |
---|---|
static String |
STATUS_PASSED
Status indicating that the processing has passed.
|
Modifier and Type | Method and Description |
---|---|
TemporaryMessageProcessResult |
process(TemporaryMessage temporaryMessage)
Process the temporary message.
|
static final String STATUS_PASSED
TemporaryMessageProcessResult process(TemporaryMessage temporaryMessage)
There can be multiple registered processor that process a TemporaryMessage
.
If one processor returns a status that is not valid
then the processing stops
and the result is handed to the TemporaryMessageHandler
.
Once all TemporaryMessageProcessor
(s) have run then the last
processing result would be returned to the TemporaryMessageHandler
.
temporaryMessage
- that temporary message that needs to be processedCopyright © 2019. All rights reserved.