Menu

#60 query exchanges available, queue status, bindings.

Sarra Beta
closed
nobody
None
7
2018-06-02
2017-02-24
psilva
No

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 ?

Discussion

  • psilva

    psilva - 2017-03-23

    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.

     
  • psilva

    psilva - 2017-05-24
    • summary: query exchanges available. --> query exchanges available, queue status, bindings.
     
  • psilva

    psilva - 2017-06-02

    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.

     
  • psilva

    psilva - 2017-06-03

    sr_ctl
    declare exchange hoho
    new_passwd lala
    list (all exchanges, queues, and bindings)
    declare queue
    bind queue ?
    delete binding.
    delete queue

     
  • psilva

    psilva - 2018-06-02
     
  • psilva

    psilva - 2018-06-02
    • status: open --> closed
     
MongoDB Logo MongoDB