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

noLocal=true in durable subscriptions is ignored after reconnect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.13.4, 5.14.0
    • 5.14.1, 5.15.0
    • Broker
    • None
    • Ubuntu 14.04, OpenJDK 1.7.0_111 and Oracle JDK 1.8.0.74, other environments not testet

    Description

      I create a connection to my local ActiveMQ and open two sessions. In the first session I create a durable topic subscriber with noLocal=true. In the second session I send a message to the same topic. Then I close both sessions and the connection. The first time I do this, everything works well, that means I send but do not receive the message. The second time I run the same application I send AND receive the message.

      After removing all files and directories in ActiveMQ's data directory, not receiving my own message works again, but only once.

      Attachments

        1. ActiveMQNoLocalTest.java
          2 kB
          Daniel Faber
        2. pom.xml
          0.9 kB
          Daniel Faber

        Issue Links

          Activity

            People

              cshannon Christopher L. Shannon
              daniel.faber@agiltech.de Daniel Faber
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: