Ken Giusti created DISPATCH-907:
-----------------------------------

             Summary: cannot set address phase via qdmanage tool
                 Key: DISPATCH-907
                 URL: https://issues.apache.org/jira/browse/DISPATCH-907
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.0.0
            Reporter: Ken Giusti
             Fix For: 1.1.0


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.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to