Defines a query API for destinations MBeans
Typical usage
return DestinationsViewFilter.create(filter)
.setDestinations(broker.getQueueViews())
.filter(page, pageSize);
where 'filter' is JSON representation of the query, like
{name: '77', filter:'nonEmpty', sortColumn:'queueSize', sortOrder:'desc'}
This returns a JSON map, containing filtered map of MBeans in the "data" field and total number of destinations that match criteria in the "count" field.