You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by pstein <px...@yahoo.ca> on 2009/09/11 09:59:35 UTC

Is it possible to filter/change the queue list order in browser overview?

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--tp25396682p25396682.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Is it possible to filter/change the queue list order in browser overview?

Posted by nmittal <nm...@rblt.com>.
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.


Re: Is it possible to filter/change the queue list order in browser overview?

Posted by pstein <px...@yahoo.ca>.
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--tp25396682p25783757.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Is it possible to filter/change the queue list order in browser overview?

Posted by nmittal <nm...@rblt.com>.
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--tp25396682p25454874.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.