Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Request Manager > Customizing the Arbortext PE Request Manager > Writing a Custom Queue > Queue Management Methods > The setEnabled Method
  
The setEnabled Method
This method should be called to enable or disable a queue. Set the parameter flag to true for enabled or false for disabled. If flag is set to false, the queue can assume that the Queued Transaction Scheduler will not call the findTransaction method.