qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ft420 <arn...@gmail.com>
Subject qpid with ACL
Date Fri, 19 Jun 2009 11:42:47 GMT

i have create a acl file
with the following writes

acl allow nithesh@QPID create link
acl allow nithesh@QPID create exchange name=AlterExch
acl allow nithesh@QPID create queue
acl allow nithesh@QPID bind exchange name=AlterExch routingkey=routing_key
acl allow nithesh@QPID create all

acl deny all all

i have started the broker with the following options
qpidd --default-queue-limit 0 --port 5004 --acl-file

but when i tried to connect to the broker
connection.open(host, port, "nithesh", "nithesh");
Session session = connection.newSession();

session.exchangeDeclare(arg::exchange = "AlterExch", arg::type = "direct");
session.queueDeclare(arg::queue="AlterQueue", arg::exclusive=false,

but it gives the following warning
Exception received from broker: not-allowed: not-allowed: ACL denied
exchange query reqeust from nithesh@QPID
(qpid/broker/SessionAdapter.cpp:153)[caused by 0 \x07:\x03]
View this message in context: http://n2.nabble.com/qpid-with-ACL-tp3119159p3119159.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org

View raw message