Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.1.3 (EE only), 3.2.1
-
Fix Version/s: 3.1.4 (EE only), 3.2.2 (EE only)
-
Component/s: Core: (other), Core: Endpoints
-
Labels:None
-
User impact:Very High
-
Log Output:
-
Similar Issues:None
Description
A flow contains basically a message source and a message processor.
Flow.start requires to start the message processor first and then the message source. Flow is not fully started until all both components are started.
There are situations using a composite source, when the message source is not fully started (ex: using a composite source with two endpoint, one endpoint is started fast but not the other one). If the started endpoint receives a message before the second endpoint is started you will get a lifecycle exception because the flow is not started yet.
Real use case: having a composite source with tow JMS endpoints, the first one having messages already in the queue before starting mule.