Reported by mjeung (1221172698|%O ago)
It would be nice to be able to look at an exchange and find out what kind of bindings are currently on it. At present, it's possible to find out the number of bindings, but it's not possible to see what those bindings actually are. It looks like this is because of the way the hash lookup is handled. The actual binding names themselves are actually also available inside the amq_exchange_agent, but they aren't being passed along to the management code. (I could see this being a little tricky since there would be an N number of binding keys to pass back, and the data structure for transport appears to be a paired map without an obvious mechanism to store N entries. I'm not familiar enough with the asl_field_list to know if there's a clever way to get around this.)
Along the same lines, but perhaps a little simpler: It would be nice to be able to look at a queue and determine the last_routing_key. There appears to be a variable already in place for this inside amq_queue.h, but it doesn't look like it's being set anywhere, as far as I can tell. Consequently, the "Routing key" field is always displaying as "(empty)" inside the amq_shell. It would be nice to have this feature available for both shared and exclusive queues.
No files attached to this page.