Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-907

cannot set address phase via qdmanage tool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • Tools
    • None

    Description

      Attempting to configure a router address via qdmanage fails to set the value of the phase attributes:

      $ qdmanage create --type "org.apache.qpid.dispatch.router.config.address" pattern="a.b.#" ingressPhase=5 egressPhase=6

      {
      "name": null,
      "pattern": "a.b.#",
      "prefix": null,
      "ingressPhase": 0, <--- should be 5
      "waypoint": false,
      "distribution": "balanced",
      "type": "org.apache.qpid.dispatch.router.config.address",
      "identity": "35",
      "egressPhase": 0 <--- should be 6

      This is due to qdmanage sending all attribute values as string types even in the case where the schema defines them as integer types. This means qdmanage cannot be used to manage any integer type attribute.

      Attachments

        Issue Links

          Activity

            People

              gmurthy Ganesh Murthy
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: