Review Board 1.7.22


QPID-3190: Option 3

Review Request #555 - Created April 6, 2011 and updated

Ted Ross
Reviewers
gordon
qpid
This fix uses the schema type to force values to strings if that is what is expected.

 
Posted (April 6, 2011, 2:45 p.m.)

   

  
trunk/qpid/tools/src/py/qpid-tool (Diff revision 2)
 
 
On issue with this is that it appear to break handling of maps with strings as the key or value of any item, which is required for using e.g. the new create() call on broker. It does however otherwise solve the issue as raised in JIRA:

qpid: call 114 echo 1 1111
qpid: OK (0) - {u'body': '1111', u'sequence': 1}

qpid: call 114 echo 1 abc
qpid: OK (0) - {u'body': 'abc', u'sequence': 1}

qpid: call 114 echo 1 'a b c'
qpid: OK (0) - {u'body': 'a b c', u'sequence': 1}

qpid: call 114 create queue my-queue {'qpid.max_count':10} False
Exception in do_call: %r name 'qpid' is not defined
qpid: 
qpid: call 114 create queue my-queue {qpid.max_count:10} False
Exception in do_call: %r name 'qpid' is not defined