On 08/26/2011 11:24 AM, tomas.sol...@deutsche-boerse.com wrote:
Hi Gordon,
Thank you for your reply.
But there is still one thing I do not understand.
I have set the log level to trace+ on my broker and here is what I got
from the log when I have used the same same addres for python as well as
for c++ client.
Python:
2011-08-26 12:13:08 trace
QPID_CLIENT@QPID9999.7ce755ba-f29b-4532-8af9-b52dad8e8450:0: recv cmd 0:
{ExchangeQueryBody: name=response; }
2011-08-26 12:13:08 trace
QPID_CLIENT@QPID9999.7ce755ba-f29b-4532-8af9-b52dad8e8450:0: recv cmd 1:
{QueueQueryBody: queue=response; }
2011-08-26 12:13:08 trace
QPID_CLIENT@QPID9999.7ce755ba-f29b-4532-8af9-b52dad8e8450:0: recv cmd 2:
{QueueDeclareBody: queue=response.QPID_CLIENT.response_queue_1;
exclusive=1; auto-delete=1;
arguments={qpid.max_count:F8:int64(1000),qpid.max_size:F8:int64(1000000),qpid.policy_type:V2:4:str16(ring)};
}
2011-08-26 12:13:08 trace
QPID_CLIENT@QPID9999.7ce755ba-f29b-4532-8af9-b52dad8e8450:0: recv cmd 3:
{ExchangeBindBody: queue=response.QPID_CLIENT.response_queue_1;
exchange=response; binding-key=response.QPID_CLIENT.response_queue_1; }
2011-08-26 12:13:08 trace
QPID_CLIENT@QPID9999.7ce755ba-f29b-4532-8af9-b52dad8e8450:0: recv cmd 4:
{MessageSubscribeBody: queue=response.QPID_CLIENT.response_queue_1;
destination=0; accept-mode=0; acquire-mode=0; }
2011-08-26 12:13:08 trace
QPID_CLIENT@QPID9999.7ce755ba-f29b-4532-8af9-b52dad8e8450:0: recv cmd 5:
{MessageSetFlowModeBody: destination=0; flow-mode=0; }
2011-08-26 12:13:08 trace
QPID_CLIENT@QPID9999.7ce755ba-f29b-4532-8af9-b52dad8e8450:0: recv cmd 6:
{MessageCancelBody: destination=0; }
2011-08-26 12:13:08 trace
QPID_CLIENT@QPID9999.7ce755ba-f29b-4532-8af9-b52dad8e8450:0: recv cmd 7:
{QueueDeleteBody: queue=response.QPID_CLIENT.response_queue_1; }
C++:
2011-08-26 12:15:48 trace
QPID_CLIENT@QPID9999.a167bd61-8aa3-4900-9ee7-a646bf3c1c63: recv cmd 0:
{ExecutionSyncBody: }
2011-08-26 12:15:48 trace
QPID_CLIENT@QPID9999.a167bd61-8aa3-4900-9ee7-a646bf3c1c63: recv cmd 1:
{ExchangeQueryBody: name=response; }
2011-08-26 12:15:48 trace
QPID_CLIENT@QPID9999.a167bd61-8aa3-4900-9ee7-a646bf3c1c63: recv cmd 2:
{ExchangeDeclareBody: exchange=response; type=topic; alternate-exchange=;
arguments={}; }
C++ client will get 'ACL denied exchange declare request from
QPID_CLIENT@QPID9999' from the broker. So to make the C++ client to be
able to pass through I had to adapt the ACL rules and change the adress as
stated in my previous email.
Right, the c++ client will issue a declare for the exchange when
creating a sender or receiver. If 'create' is not enabled the passive
flag will be true.
The python client doesn't issue this declare, hence the difference in
ACL rules required at present.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscr...@qpid.apache.org