Patent ID: 7370333

Claim:
A computer-implemented method for processing convoy scenarios in a message driven process, said method comprising: analyzing a static workflow application for receiving and processing messages; determining if at least one convoy scenario exists in said static workflow application, a convoy scenario comprising a scenario wherein: at least a portion of receivable messages are related; a relationship of related messages is determinable upon receipt of a first one of said related messages; a plurality of messages are receivable prior to processing any of said related messages; and said related messages are to be handled by a common process; classifying each existing convoy scenario as one of a plurality of convoy classes, said plurality of convoy classes comprising at least one of: a parallel convoy class, wherein related received messages are to be dispatched to parallel instances of a process; and a sequential convoy class, wherein related received messages are be dispatched to sequential instances of a process, and for each convoy class, generating a convoy-class-specific infrastructure for correlating incoming messages of a convoy class with processes associated with said each convoy class and message type, wherein said parallel convoy class comprises an activation convoy class, wherein: an instance of a process is instantiated in response to a first received message of a plurality of related messages belonging to said activation convoy class; said first received message of said activation convoy class is to be dispatched to said instance; and subsequently received messages of said activation convoy class are to be dispatched to said instance.