Hi Gordon, How do these QMF messages work with ACL? Are the ACL rules (for example creating a queues only with specific name/parameters) validated when creating a queue using QMF or are they ignored?
Thanks & Regards Jakub 2011/6/14 Gordon Sim <[email protected]>: > On 06/14/2011 07:35 AM, Jiri Krutil wrote: >> >> Hi >> >> Few questions regarding the (new) C++ client: >> >> 1. Is there a way how to programmatically delete queues, exchanges and >> bindings from the C++ client? > > As of the 0.10 release, you can do that via the map-message based management > protocol. I've attached some notes on that and a rudimentary example of > deleting via the c++ messaging API. > >> 2. What happens if I re-declare an existing queue or exchange from the >> C++ client, specifying in the address different attributes than what the >> object currently has? > > Generally the differences are ignored. However when using addresses you can > include an assert option to ensure you get what you asked for. > > You can also create queues using the management protocol. In that case, if > the queue already exists you will get back an error message informing you of > that. > >> 3. I am re-declaring an existing queue from the C++ client. I am >> providing a list of bindings in x-bindings part of the address. What >> happens if my binding list differs from the bindings that currently >> exist for the queue? Will the extra bindings be added and the missing >> bindings be deleted from the broker? > > The extra bindings will be added, but no pre-existing bindings will be > removed. > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
