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

Reconnecting core JMS client won't re-create auto-created queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • None
    • None

    Description

      Scenario:

      • Start broker
      • core JMS client sends message to queue
      • broker auto-creates queue & receives message
      • core JMS client creates consumer on queue and consumes the message; consumer's connection uses reconnectAttempts=-1
      • stop broker
      • during shutdown the consumer is disconnected and since the message-count is already 0 that means the broker will auto-delete the consumer's queue
      • start broker
      • consumer automatically reconnects
      • broker throws an error that the consumer's queue doesn't exist
      • consumer is broken and will not receive any messages

      Attachments

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              jbertram Justin Bertram
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: