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

durable subscriber gets stuck while using persistent delivery mode and client acknowledgment with session.recover().

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 5.2.0
    • 5.3.0
    • None
    • None
    • WinXP,
      java version "1.6.0_05"
      Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
      Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

    Description

      Using two topic durable subscribers which consume every odd message and recover their session if message number is even one of the durable subscriper after couple hundred messages get stuck and java.lang.NullPointerException is shown on provider console.

      Reproducing steps:
      1. start amq server using default configuration.
      2. run TopicRedeliver.
      3. run TopicProducer.

      Discovered during test of https://issues.apache.org/activemq/browse/AMQ-1797 .
      See attached logs and java files.

      Attachments

        1. amq2021.zip
          45 kB
          Juraj Kuruc

        Issue Links

          Activity

            People

              gtully Gary Tully
              durokuruc Juraj Kuruc
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: