Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-831

Problem on call servicemix-bean service from camel route with concurrent requests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 2010.02
    • 2013.02
    • servicemix-camel
    • None

    Description

      I found a problem on use servicemix-camel with servicemix-bean. In
      particular, in a scenario like this:

      • a cxf-bc that expose a ws and that send exchange to cxf-se service;
      • cxf-se service call a servicemix-camel route1;
      • servicemix-camel route1 call a camel route2 (to jbi component)
      • servicemix-camel route2 call a servicemix bean service (with a thread
        sleep inside);
      • a second client call cxf-bc service when first client wait for
        response;
      • and at this point last camel route that wait for a reply from
        servicemix-bean service became broken yet after when servicemix-bean
        close exchange correctly.

      With debug i see that exchange is sent to smx-bean service (in state
      Active) and answer is returned by always with state Active, it seems
      that exchange don't change to Done and it is handled correctly by servicemix-camel module.

      This problem happens only when there are 2 route camel and second route
      call smx-bean, while, if i try to call directly smx-bean from first
      camel route all works fine.

      I add a smx-bean before second camel route by problem is always present.

      Attachments

        1. test_route.tar.bz2
          16 kB
          Ge@@ru

        Activity

          People

            Unassigned Unassigned
            geaaru Ge@@ru
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: