Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14693

Support ActiveMQ Artemis' "auto-delete-created-queue" property

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 27.0.0.Beta1, 27.0.0.Final
    • 21.0.1.Final
    • JMS
    • None
    • Compatibility/Configuration
    • Low
    • Undefined

      Wildfly ActiveMQ module is eventually throwing ActiveMQAddressFullException exception. It happens because there are some durable queue (associated with a Topic) that has no subscriber. ActiveMQ keeps those queues by the premises that subscriber may connect again and then receive all the messages she missed when she wasn't connected. 

      Since we're working on a Kubernetes environment, subscribers will rarely connect again with the same IP, so ActiveMQ will create a new queue for each subscription which would eventually throw ActiveMQAddressFullException exception.
       
      By the documentation (https://activemq.apache.org/components/artemis/documentation/latest/address-model.html), activating the "auto-delete-created-queue" property would solve the problem as it would guarantee that the queue would be deleted right after the subscriber disconnects from the queue.

      It turns out that WF 21 Model Reference documentation do not mention the "auto-delete-created-queues" property which means that this property is not supported by WF ActiveMQ module even though it's supported by ActiveMQ itself.  

            ehugonne1@redhat.com Emmanuel Hugonnet
            thiagomfsup@gmail.com Thiago Martins Ferreira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: