public List < BindingInfo > getQueueBindings ( String vhost , String queue ) { final URI uri = uriWithPath ( "./queues/" + encodePathSegment ( vhost ) + "/" + encodePathSegment ( queue ) + "/bindings" ) ; final BindingInfo [ ] result = this . rt . getForObject ( uri , BindingInfo [ ] . class ) ; return asListOrNull ( result ) ; }
Returns a list of bindings where provided queue is the destination .