Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1136

Using deprecated attribute use-hornetq-store in CLI does not have any effect being set

XMLWordPrintable

    • Hide

      Use jboss-cli.sh to set /subsystem=transactions:write-attribute(name=use-hornetq-store, value=true) does not have any effect.

      Show
      Use jboss-cli.sh to set /subsystem=transactions:write-attribute(name=use-hornetq-store, value=true) does not have any effect.

      Attribute use-hornetq-store was deprecated for EAP7 and use-journal-store should be used instead. But even the attribute is deprecated it still should provide its old functionality.

      I think that using use-hornetq-store would have the same effect as when use-journal-store is used.

      I would think that when one of the attribute is set then the other one should present the same settings.

      /subsystem=transactions:read-attribute(name=use-hornetq-store)
      {
          "outcome" => "success",
          "result" => false
      }
      /subsystem=transactions:read-attribute(name=use-journal-store)
      {
          "outcome" => "success",
          "result" => false
      }
      /subsystem=transactions:write-attribute(name=use-journal-store, value=true)
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-restart" => true,
              "process-state" => "restart-required"
          }
      }
      
      :shutdown(restart=true)
      {"outcome" => "success"}
      
      /subsystem=transactions:read-attribute(name=use-journal-store)
      {
          "outcome" => "success",
          "result" => true
      }
       /subsystem=transactions:read-attribute(name=use-hornetq-store)
      {
          "outcome" => "success",
          "result" => false
      }
      

            zfeng@redhat.com Zheng Feng
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: