Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-358

Topic disappears when STOMP subscriber client disconnects without unsubscribe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0, 1.3.0
    • 1.3.0
    • STOMP
    • None

    Description

      When a STOMP client which has a subscription to a topic disconnects without unsubscribing first, the topic seems to disappear.

      Reproducer:

      1. configure a server with a topic (e.g. jms.topic.testtopic) and start it
      2. STOMP: connect to the server
      3. STOMP: subscribe to the topic
      4. STOMP: disconnect from the server (without unsubscribing first)
      5. STOMP: connect to the server again
      6. STOMP: send a message to the topic

      At this point the server responds with "AMQ339001: Destination does not exist: jms.topic.testtopic"

      At this point the topic is still visible in jconsole though so maybe it has not disappeared entirely, but anyway, messages cannot be sent to it with STOMP any more. Restarting the server makes it possible to send to it again.

      Attachments

        Activity

          People

            jbertram Justin Bertram
            scop Ville Skyttä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: