Project

General

Profile

Bug #9964

Updated by Chambon Bernard almost 10 years ago

No that's false 

 * Caution a queue name (JT819300) could have several queue_id (133, 114) 

 * Queues are activate by Activator in 'process' method 
 by iteration over    queuesMap 
 <pre> 
 .getWaitingQueues(resource.getMediaType()); 
 // getWaitingQueues will retrieve waiting queue from QueuesController.queuesMap 
  while (waitingQueues.size() > 0)) { 
    Queue bestQueue = QueuesController.getInstance().getBestQueue(resource, waitingQueues); 

 </pre> 
 * For an activated queue name (JT819300), in memory , (I mean in queuesMap) you will have activated queue_id (e.g. 113) and created queue_id (e.g. 114), 
 this may be surprising ! 
 (this will be done by Activator.activate(bestQueue);)  


 * At first time I didn't understand why 114 was not activated. 
 It will become activated when it will be the best queue ! 


 *Annoying Annoying    queue name and queue id are not in a bijection !!!!!* !!!!!

Back