Deadlock using SedaFlow & Camel Component during SMX start
----------------------------------------------------------
Key: SM-1868
URL: https://issues.apache.org/activemq/browse/SM-1868
Project: ServiceMix
Issue Type: Bug
Components: servicemix-core
Affects Versions: 3.3
Environment: JDK 1.5, SedaFlow
Reporter: Maciej Prochniak
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.