activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmittal <nmit...@rblt.com>
Subject Re: Is it possible to filter/change the queue list order in browser overview?
Date Wed, 07 Oct 2009 12:44:16 GMT

You have 2 options...
1) Either name those 3 queues so they automatically come up at the top (for
example add a '_')
2) add another sort function in the standardista-table-sorting.js script
that would treat those queues differently.

Nishant


pstein wrote:
> 
> Ok, thank you.
> 
> But is there a similar way to filter lets say 5 queues out of 233
> existing?
> 
> Peter
> 
> 
> nmittal wrote:
>> 
>> I found a workaround solution. 
>> 1) open standardista-table-sorting.js which is located in the
>> $ActiveMQHOME$/webapps/admin/js/ folder.
>> 2) change the function...
>>         function standardistaTableSortingInit() {
>> 	      standardistaTableSorting.init();
>>         }
>> 
>> to the following...
>> 
>>         function standardistaTableSortingInit() {
>> 	       standardistaTableSorting.init();
>> 	
>> 	       var e = {};
>> 	       var obj = document.getElementsByTagName("TH")[0].firstChild; // 0
>> points to the first column, use 3 if you want to sort on the 4th column
>> 	       e.target = obj;
>> 	       standardistaTableSorting.headingClicked(e);  // will sort
>> Ascending
>> 	       //standardistaTableSorting.headingClicked(e); // uncheck this if
>> you want to sort desc
>>         }
>> 
>> thanks
>> Nishant
>> 
>> 
>> pstein wrote:
>>> 
>>> Assume I use a couple of queues:
>>> 
>>> queue111, queue222, testqueue44
>>> 
>>> beside these queues hundreds of other queues are maintained on the same
>>> ActiveMQ broker.
>>> 
>>> When I open now the browser GUI and list the existing queues I have to
>>> scroll through all these queues and to search for "my" queues. This is
>>> unconvenient.
>>> 
>>> Is there a way to display/filter only my queues?
>>> 
>>> Is there a way to show "my" queues always on top of the list?
>>> 
>>> What is the default list sort order?
>>> It is NOT: alphabetic, and NOT last recently used. What else?
>>> 
>>> Peter
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Is-it-possible-to-filter-change-the-queue-list-order-in-browser-overview--tp25396682p25783957.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message