Andy Taylor created DISPATCH-146:
------------------------------------

             Summary: management query sends non string keys
                 Key: DISPATCH-146
                 URL: https://issues.apache.org/jira/browse/DISPATCH-146
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Management Agent
    Affects Versions: 0.4
            Reporter: Andy Taylor
            Priority: Minor


Im not 100% sure this is a bug but when you run a command something like:

qdmanage query -b url  --type linkRoutePattern

the amqp message contains a map with the entry 'attributeNames' which contains 
an entry where the key is a Binary. The spec says:

 "The body of the message MUST consist of an amqp-value section containing a 
map which MUST have the following entries, where all keys MUST be of type 
string:"

The reason i found this issue was by running the management client against 
Artemis which produced a class cast exception on the server because of this.

NB Artemis uses proton-jms to decode messages so if its a not a bug then the 
proton-j decoder will need fixing



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to