Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Request Manager > Customizing the Arbortext PE Request Manager > Writing a Custom Queue > Transaction Management Methods > The setTransactionPriority Method
  
The setTransactionPriority Method
This method should set the transaction’s priority to the value specified by newPriority, which takes an integer value from 1 to 5 inclusive, highest to lowest. The transaction moves to the appropriate position within the queue’s transactions, which are sorted in priority order.