Skip to content

Operations which change message state

Lukáš Vozáb edited this page Jan 25, 2016 · 1 revision

Operations which change message state

The following table presents operations or actions which change message states (see Data Model with state workflow diagram):

Source state Target state Operation/action
NEW PROCESSING New request/message starts processing (org.cleverbus.core.common.asynch.AsynchInMessageRoute)
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.cleverbus.core.common.asynch.AsynchMessageRoute)
  • time processing exceeds limit for processing (org.cleverbus.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 PROCESSING Previous processing was postponed and started next try. org.cleverbus.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.cleverbus.core.common.asynch.queue.MessagePollExecutor
PARTLY_FAILED PROCESSING Previous processing was postponed and started next try. org.cleverbus.core.common.asynch.queue.PartlyFailedMessagesPoolRoute
PARTLY_FAILED CANCEL Admin canceled further processing in Admin GUI
WAITING_FOR_RES PROCESSING 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.
Clone this wiki locally