Class DestinationsViewFilter

  • All Implemented Interfaces:

    public class DestinationsViewFilter
    extends Object
    implements Serializable
    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. The result will be properly paged, according to 'page' and 'pageSize' parameters.
    See Also:
    Serialized Form