would like to add some meta queries so that a user can ask a broker which exchanges can it write to, and which exchanges can it read from.
the mechanism to implement, is that a post is done to the user's xs_<user> exchange.
some daemon picks up the message, and generates a response, and puts it in xl_<user>.</user></user>
likely results in a new message format v02.control ?
maybe just a single query that, for any given user, returns:
-- exchanges to which a user can post.
-- queues to which a user can connect/subscribe.
-- the number of messages in each of those queues.
added rabbitmq_user_access routine to sr_rabbit, which returns the requisite list.
I think a plugin could be written to handle requests, call this routine, and write a response posting to queue given in the request.
sr_ctl
declare exchange hoho
new_passwd lala
list (all exchanges, queues, and bindings)
declare queue
bind queue ?
delete binding.
delete queue
now: https://github.com/MetPX/sarracenia/issues/32