FUSE Message Broker
  1. FUSE Message Broker
  2. MB-1136

PendingMessages not being dispatched to DurableSubscriber

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 5.5.1-fuse-03-06
    • Component/s: broker
    • Labels:
      None
    • Environment:
      5.5.1-fuse-03-06
      5.4.2-fuse
    • Similar Issues:
      Show 9 results 

      Description

      Seems there might be an issue with DurableSubscribers and messages being dispatched to the consumer. It was reported that the PendingQueueSize shows message, however they dont appear to be dispatched to the consumer.

      1. DurableSubscriberNonPersistentMessageTest.java
        12 kB
        Timothy Bish
      1. DurableTopicSubscribers.jpg
        141 kB
      2. PendingMessage-ConsumerRestarted.jpg
        111 kB
      3. PendingMessage-TestComplete.jpg
        104 kB

        Activity

        Hide
        Jason Sherman
        added a comment - - edited

        Attached test case.

        This test shows that Non-Persistent messages are not being cleaned up on durable subscribers. The messages will not be delivered to the consumer, yet they remain and the broker stats for CursoryMemoryUsage and PendingQueueSize reflect these messages.

        I have tested this against Apache ActiveMQ 5.5.1 and it does not have the same behavior and the attached test case passes.

        Show
        Jason Sherman
        added a comment - - edited Attached test case. This test shows that Non-Persistent messages are not being cleaned up on durable subscribers. The messages will not be delivered to the consumer, yet they remain and the broker stats for CursoryMemoryUsage and PendingQueueSize reflect these messages. I have tested this against Apache ActiveMQ 5.5.1 and it does not have the same behavior and the attached test case passes.
        Hide
        Jason Sherman
        added a comment -

        Updated test case to work with Apache 5.6

        Show
        Jason Sherman
        added a comment - Updated test case to work with Apache 5.6

          People

          • Assignee:
            Timothy Bish
            Reporter:
            Jason Sherman
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: