Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-5732

Changing message selector leads to blocking message

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.11.1
    • Fix Version/s: 5.11.1
    • Component/s: Broker, JMS client
    • Labels:
    • Environment:

      Suse Linux 11 sp2

      Description

      The problem is:

      1. I create a queue in activemq broker (version 5.11.1) and some message with string property, for example "filename".

      2. Use a client to consume the message with message selector "filename='123.tar'" with consumer.receive(),it works. After it receive the message, it acks the message and send the same message back to the broker and commit the session. (client_acknowledge).

      3. Use the same client, change the message selector to "filename='456.tar'" with consumer.receive(), the consumer is blocked.

      4. restart the broker and consumer "filename='456.tar'" again, it successfully receive the message, but if i change the selector back to "filename='123.tar'", it blocked again.

      At first I thought that there might be some rules for message dispatching. However, with ActiveMQ version 5.10.0, the problem is gone.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Cadmean Cadmean
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: