ActiveMQ
  1. ActiveMQ
  2. AMQ-2093

Message Selector Not working in High Load.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0, 5.0.0, 5.2.0
    • Fix Version/s: 5.6.0
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      Windows XP Profesional - 32 Bit.
      JDK 1.5 Update 8
      Broker Running in Jboss

      Description

      I am facing a problem on receiving messages by multiple blocked receivers from a single Queue with different correlation id.

      Here is what exactly I am doing.

      My client thread is publishing a message ( having a unique co-relationid) to a RequestQueue and waiting for a response (blocked)
      on Response Queue with the same co-relationid. I have such 100 client threads.

      The client thread is publishing a message using normal JMS (w/o Spring) whereas receiving the response using Spring JMSTemplate
      using object=jmsQueueTemplate.receiveSelectedAndConvert(destinationName, "JMSCorrelationID='" + correlationID+ "';

      the other side, Spring Message POJOs are consuming the published message from RequestQueue, processing it and sending back the response to ResponseQueue with the co-relation id set using normal publishing (w/o Spring).

      My Observations

      I have sent 1000 unique co-relationId messages (using 100 client threads) but received 992 unique co-related id messages;
      8 duplicated co-related id messages and dropped 8 unique co-related id messages.

      This is happening under 100 client threads load using Jmeter

        Activity

        Hide
        Gary Tully added a comment -

        closing again with correct fix version

        Show
        Gary Tully added a comment - closing again with correct fix version
        Hide
        Gary Tully added a comment -

        reopen to set fix version to 5.6

        Show
        Gary Tully added a comment - reopen to set fix version to 5.6
        Hide
        Timothy Bish added a comment -

        No test case given to allow for reproducing the issue.

        Show
        Timothy Bish added a comment - No test case given to allow for reproducing the issue.
        Hide
        Rob Davies added a comment -

        Can you attach a junit test case please ?

        Show
        Rob Davies added a comment - Can you attach a junit test case please ?
        Hide
        Kumar added a comment -

        Dear James Strachan,

        We are stuck at this issue. can you pls help us to look at this problem ? i think that this problem is similar to https://issues.apache.org/activemq/browse/AMQ-1375 AMQ-1375
        please advise.

        Show
        Kumar added a comment - Dear James Strachan, We are stuck at this issue. can you pls help us to look at this problem ? i think that this problem is similar to https://issues.apache.org/activemq/browse/AMQ-1375 AMQ-1375 please advise.

          People

          • Assignee:
            Unassigned
            Reporter:
            Kumar
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development