ServiceMix Components
  1. ServiceMix Components
  2. SMXCOMP-295

Under high load JMS in/out provider fails to receive responses.

    Details

    • Patch Info:
      Patch Available

      Description

      Under high load JMS in/out provider fails to receive responses. It is a threading problem in JMS provider in/out exchange processing while doing template.receiveSelected() call to receive messages. This happens in a scenario where servicemix-jms consumer has more than 1 concurrent consumers (saw the problem with 5 concurrent consumer with 100 message and atleast 1 message being lost).

      I will attach a patch to resolve this shortly.

      1. SM-1513-revert.patch
        1 kB
        Ulhas Bhole
      2. SM-1513.patch
        2 kB
        Ulhas Bhole

        Activity

        Hide
        Freeman Fang added a comment -

        revert patch on behalf of Ulhas
        http://svn.apache.org/viewvc?rev=691222&view=rev for 3.2 branch
        http://svn.apache.org/viewvc?rev=691229&view=rev for servicemix-jms component project

        Show
        Freeman Fang added a comment - revert patch on behalf of Ulhas http://svn.apache.org/viewvc?rev=691222&view=rev for 3.2 branch http://svn.apache.org/viewvc?rev=691229&view=rev for servicemix-jms component project
        Hide
        Ulhas Bhole added a comment -

        Yes we do need to move to latest ActiveMQ version to get the fix for this problem. I just had a look at the pom.xml and Servicemix 3.2 uses old version 4.1.1 of ActiveMQ whereas the fix is applied to 5.x version and will be available in 5.2

        – Ulhas

        Show
        Ulhas Bhole added a comment - Yes we do need to move to latest ActiveMQ version to get the fix for this problem. I just had a look at the pom.xml and Servicemix 3.2 uses old version 4.1.1 of ActiveMQ whereas the fix is applied to 5.x version and will be available in 5.2 – Ulhas
        Hide
        Freeman Fang added a comment -

        Hi Ulhas,
        do we also need update amq version to pick up this fix?

        Freeman

        Show
        Freeman Fang added a comment - Hi Ulhas, do we also need update amq version to pick up this fix? Freeman
        Hide
        Ulhas Bhole added a comment -

        Need to revert the fix (patch attahed) as the problem was identified in Apache ActiveMQ and fix by Jira https://issues.apache.org/activemq/browse/AMQ-1917

        Show
        Ulhas Bhole added a comment - Need to revert the fix (patch attahed) as the problem was identified in Apache ActiveMQ and fix by Jira https://issues.apache.org/activemq/browse/AMQ-1917
        Hide
        Ulhas Bhole added a comment -

        Reverting previous fix related to synchronization since the problem was identified and fixed in Apache ActiveMQ. Jira: https://issues.apache.org/activemq/browse/AMQ-1917

        Show
        Ulhas Bhole added a comment - Reverting previous fix related to synchronization since the problem was identified and fixed in Apache ActiveMQ. Jira: https://issues.apache.org/activemq/browse/AMQ-1917
        Hide
        Freeman Fang added a comment -

        apply patch on behalf of Ulhas with thanks
        http://svn.apache.org/viewvc?rev=687529&view=rev for 3.2 branch
        http://svn.apache.org/viewvc?rev=687531&view=rev for trunk

        Show
        Freeman Fang added a comment - apply patch on behalf of Ulhas with thanks http://svn.apache.org/viewvc?rev=687529&view=rev for 3.2 branch http://svn.apache.org/viewvc?rev=687531&view=rev for trunk
        Hide
        Ulhas Bhole added a comment -

        Patch for fixing the Threading problem in servicemix-jms provider while doing receiveselected() call.

        Show
        Ulhas Bhole added a comment - Patch for fixing the Threading problem in servicemix-jms provider while doing receiveselected() call.

          People

          • Assignee:
            Ulhas Bhole
            Reporter:
            Ulhas Bhole
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development