Relevant if Asynchronous messages feature is used. Introduced in OpenHub 2.1.

Messages that are already processed should not be kept indefinitelly in OpenHub repository, for performance reasons. Therefore, mechanism called "final messages handling" is introduced.

Final message handling job

Messages that are considered final by workflow are periodically fetched by job and processed. 

Enabling message handling job

Message processing

Is realized by beans of FinalMessageProcessor type. Generally speaking if can be anything, typical scenario will be some kind of archiving before delete.

Note: duration to keep messages in OpenHub database can be configured differently per each state. See OpenHub configuration for configuration properties.

DeleteFinalMessageProcessor

How to add custom message processor?

Error handling