Class DefaultTemporaryMessageHandler
java.lang.Object
com.flowable.engage.engine.impl.message.temporary.DefaultTemporaryMessageHandler
- All Implemented Interfaces:
TemporaryMessageHandler
- Author:
- Filip Hrisafov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleNotPassedStatus(TemporaryMessage temporaryMessage, TemporaryMessageProcessResult processResult) protected voidhandleStatusPassed(TemporaryMessage temporaryMessage, TemporaryMessageProcessResult processResult) voidpostProcess(TemporaryMessage temporaryMessage, TemporaryMessageProcessResult processResult) Post process the temporary message with the result.protected voidtemporaryMessageProcessed(TemporaryMessage temporaryMessage, TemporaryMessageProcessResult processResult)
-
Constructor Details
-
DefaultTemporaryMessageHandler
public DefaultTemporaryMessageHandler()
-
-
Method Details
-
postProcess
public void postProcess(TemporaryMessage temporaryMessage, TemporaryMessageProcessResult processResult) Description copied from interface:TemporaryMessageHandlerPost process the temporary message with the result.Post processing usually means that if the processing status is
validto post the the temporary message to an external system and depending on the system to post it to the conversation.In case the processing status is not
validan error message can be sent to the conversation, or something similar.- Specified by:
postProcessin interfaceTemporaryMessageHandler- Parameters:
temporaryMessage- the temporary message that should be handledprocessResult- the processing result from theTemporaryMessageProcessor
-
handleStatusPassed
protected void handleStatusPassed(TemporaryMessage temporaryMessage, TemporaryMessageProcessResult processResult) -
handleNotPassedStatus
protected void handleNotPassedStatus(TemporaryMessage temporaryMessage, TemporaryMessageProcessResult processResult) -
temporaryMessageProcessed
protected void temporaryMessageProcessed(TemporaryMessage temporaryMessage, TemporaryMessageProcessResult processResult)
-