Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1868

Deadlock using SedaFlow & Camel Component during SMX start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.3
    • None
    • servicemix-core
    • 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

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            mproch Maciej Prochniak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: