On 06/22/2012 03:08 PM, Rajith Attapattu wrote:
it's impossible to retain backwards compatibility while strictly
adhering to the C++/python syntax.
I don't think that is true, but it depends on what exactly you mean by
the 'c++/python syntax'. If it is really just the pseudo-python used to
describe maps and can include lists and nested maps then to describe the
existing connection[1] url options you might have e.g.
{user:x,password:y,clientid:z,virtualhost:a,failover:b,maxprefetch:c,brokerlist:[{url:'host1:port1',retries:2,connectdelay:10},{url:'host2:port2',retries:3,connectdelay:5}]}
I'm not saying I recommend that, but it *is* possible and I would say it
is also cleaner than your alternative.
[1] https://cwiki.apache.org/qpid/connection-url-format.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]