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

Messaging subsystem runtime-queue resource is not registered as "runtime-only"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.CR1
    • 8.0.0.CR1
    • JMS, Management
    • None

    Description

      The runtime-queue resource only exists at runtime but isn't registered as such. I noticed this as ManagementClient does a recursive read-resource of the entire tree, but with include-runtime=false, but a CI run showed a failure reading one of these resources anyway:

      ```
      21:01:01,754 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 4) JBAS014613: Operation ("read-attribute") failed - address: ([
      ("subsystem" => "messaging"),
      ("hornetq-server" => "default"),
      ("runtime-queue" => "jms.tempqueue.661a6b15-7863-4d6c-b4b1-f8d62d294ea5")
      ]) - failure description: "JBAS011676: No resource exists at address [
      (\"subsystem\" => \"messaging\"),
      (\"hornetq-server\" => \"default\"),
      (\"runtime-queue\" => \"jms.tempqueue.661a6b15-7863-4d6c-b4b1-f8d62d294ea5\")
      ]"
      ```

      Doing read-resource with these is a bit problematic in any case, since a bunch of read-attribute calls get executed as steps (that's what the above was) but the resource can disappear in the middle. But that's a separate problem.

      Attachments

        Activity

          People

            kkhan1@redhat.com Kabir Khan
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: