The following table presents operations or actions which change message states (see data model with state workflow diagram):
Image Added
Source state | Target state | Operation / action |
---|
NEW |
PROCESSINGIN_QUEUE | New request/message |
starts is add into SEDA queue for processing (org.openhubframework. |
cleverbusopenhub.core.common.asynch.AsynchInMessageRoute) |
IN_QUEUE | PROCESSING | Message is picked up from SEDA queue and starts processing |
PROCESSING | POSTPONED | Message is being processed but there is conflict with another message with same "funnel" value. |
PROCESSING | PARTLY_FAILED | Processing failed but there are next tries to finish it. - error occured during message processing (org.openhubframework.
|
cleverbus- openhub.core.common.asynch.AsynchMessageRoute)
- time processing exceeds limit for processing (org.
|
cleverbus- openhubframework.openhub.core.common.asynch.repair.RepairProcessingMsgRoute)
|
PROCESSING | WAITING_FOR_RES | Message is being processed and waits for response from external system. |
PROCESSING | WAITING | Message is being processed and waits for response from external system (valid for parent message only). |
PROCESSING | OK | Message is successfully processed. |
PROCESSING | FAILED | Processing of the message failed - there is no next try for processing. |
POSTPONED |
PROCESSINGIN_QUEUE | Previous processing was postponed and started next try. org.openhubframework. |
cleverbusopenhub.core.common.asynch.queue.PartlyFailedMessagesPoolRoute |
POSTPONED | CANCEL | Admin canceled further processing in Admin GUI |
POSTPONED | FAILED | Message has been waiting for starting processing more then interval defined by asynch.postponedIntervalWhenFailed. org. |
cleverbusopenhubframework.openhub.core.common.asynch.queue.MessagePollExecutor |
PARTLY_FAILED |
PROCESSINGIN_QUEUE | Previous processing failed and started next try. org. |
cleverbusopenhubframework.openhub.core.common.asynch.queue.PartlyFailedMessagesPoolRoute |
PARTLY_FAILED | CANCEL | Admin canceled further processing in Admin GUI |
WAITING_FOR_RES |
PROCESSINGIN_QUEUE | Message got response from external system and continues in processing. |
WAITING_FOR_RES | CANCEL | Admin canceled further processing in Admin GUI |
WAITING | FAILED | Parent message was waiting for processing of child message but at least one child message failed. |
WAITING | OK | All child messages of parent message finished successfully. |
FAILED | PROCESSING | Restart failed message from admin GUI. |