On 05/05/2011 10:00 PM, Nathan Sevugan wrote:
1. Where do I find the binaries for the latest (0.10) qpidd cpp broker? Is
there one or should I build it from the source?
2. I tried the qpidd .8 broker installer, does not seem to work with java
client .10
I started the C++ broker using
qpidd.exe --auth=no
When I tried connecting through the java client with
connectionUrl:
amqp://guest:guest@clientid/test?brokerlist='tcp://localhost:5672'
I get the following error:
Uncategorized exception occured during JMS processing; nested exception is
javax.jms.JMSException: Error creating connection: The following SASL
mechanisms [PLAIN] specified by the client are not supported by the broker
The 0.10 JMS client now supports ANONYMOUS[1]. Unfortunately you need to
explicitly choose the mechanism you want as otherwise PLAIN is set[2].
You can do this by specifying the sasl_mechs broker option , e.g.:
amqp://guest:guest@clientid/test?brokerlist='tcp://localhost:5672?sasl_mechs=\'ANONYMOUS\''
Rather ugly, but should work.
[1] This was tracked by https://issues.apache.org/jira/browse/QPID-2979.
There is a simple additional change we could make to the windows broker
that would allow PLAIN when --auth=no, for which see
https://issues.apache.org/jira/browse/QPID-1896.
[2] I've raised https://issues.apache.org/jira/browse/QPID-3246 to track
that, as I think it is less than ideal.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]