Re: qpid-config - what does q._altExchange_.name do??

2011-07-20 Thread fadams
Hi Ken, that's awesome many thanks - I'm not going mad after all it is just a slightly quirky pythonism, and I've just clocked how the language got its name :-) Re "Not very intuitive, IMHO" for the most part I was cursing that too :-D but upon reflection (bad pun!!) to be fair it's probably as mu

Re: java client, c++ broker, no authentication

2011-07-20 Thread Rajith Attapattu
I was able to set the sals mech using -Dqpid.sasl_mechs= or sasl_mechs= in the connection URL Ex. "amqp://username:password@clientid/test?brokerlist='tcp://localhost:5672?sasl_mechs='ANONYMOUS''" How did you set it ? using the JVM arg or the connection URL property? Rajith On Tue, Jul 19, 2011

Re: qpid-config - what does q._altExchange_.name do??

2011-07-20 Thread Ken Giusti
Oh! I've seen this before! In the pure python implementation of the qmf console (see qpid/extras/qmf/ ... /console.py), there's some "syntactic sugar" that allows the application to fetch a QMF object when given a attribute of an Object Id is surrounded by "_"'s! Specifically, for: q._altExc

Re: qpid-config slow

2011-07-20 Thread fadams
My guess is that it's simply due to the interpreted nature of python. I've been writing a Java port of qpid-config that uses QMF2 and that similarly takes a little time to give results, but that's pretty much down to the JVM startup. I wrote code to listen out for QMF Events and that responds to E

Re: qpid-config - what does q._altExchange_.name do??

2011-07-20 Thread fadams
Any takers on this? Is there some python guru out there who can explain what this is doing. I can't even get sensible answers Googling - imagine what "python underscore" returns :-/ MTIA Frase fadams wrote: > > Hello, > In qpid-config there's code to print the name of the alternate exchange >

qpid-config slow

2011-07-20 Thread Pavel Moravec
Hi all, I realised on every qpid version & system I used a poor performance of qpid-config tool. It usually takes 2 to 3 seconds to execute a command, e.g.: # time qpid-config add queue test real 0m2.243s user 0m0.161s sys 0m0.027s # time qpid-config del queue test real 0m2.303s user 0m

Re: LDAP Authentication

2011-07-20 Thread Gordon Sim
On 07/20/2011 05:18 AM, Wisler, Trina wrote: I am wondering if there is a version of qpid that supports authentication using LDAP. If so, can someone point me do a description of how to do this? And if not, is there a plan to support this? On linux, the c++ broker uses Cyrus SASL for authen

Re: LDAP Authentication

2011-07-20 Thread Keith Wall
Hi Trina On the Java broker, I have been working on QPID-3283. It has made changes to allow alternate authentication modules to be plugged into Qpid to allow authentication decisions to be delegated to an external system such as an 'LDAP' Directory. There is also provision for group information