Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.3
-
None
-
None
-
JDK 1.5, SedaFlow
Description
The scenario is as follows:
- http request is sent to HttpEndpoint
- it's sent to Component A which uses push delivery (e.g. Camel) .
- the camel component processes request - which holds readLock on SedaFlow as push delivery is used.
- deployment of another SA is started - it calls suspend on SedaFlow, acquires SedaFlow object as monitor and waits for writeLock
- Component A sends request to Component B (ODE in our case). The SedaQueue object for Component B is not created yet, so createQueue method in SedaFlow is called, but it's synchronized on the flow object - and deadlock appears
Note: this is different situation than in http://issues.apache.org/activemq/browse/SM-1824